Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 184.4 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008893/0.0008895, allocations: 90.09 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3533/0.3542, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.5343, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5703/1.105, allocations: 137.4 MB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.105, allocations: 85.56 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.02002/1.125, allocations: 6.982 MB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.125, allocations: 8 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/1.125, allocations: 51.42 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/1.126, allocations: 326.8 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.126, allocations: 11.98 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/1.126, allocations: 20 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003853/1.126, allocations: 214 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/1.126, allocations: 306.6 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.127, allocations: 0 / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.127, allocations: 0 / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.127, allocations: 8 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/1.128, allocations: 1.388 MB / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/1.129, allocations: 233.6 kB / 1.028 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/1.129, allocations: 160 kB / 1.028 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/1.129, allocations: 8.219 kB / 1.028 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/1.129, allocations: 42.11 kB / 1.028 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/1.129, allocations: 0 / 1.028 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.0009656/1.13, allocations: 392.6 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.13, allocations: 55.41 kB / 1.029 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.13, allocations: 251.2 kB / 1.029 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.13, allocations: 25.7 kB / 1.029 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/1.13, allocations: 184.5 kB / 1.029 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/1.131, allocations: 95.78 kB / 1.029 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/1.131, allocations: 0 / 1.029 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.131, allocations: 340.6 kB / 1.03 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.131, allocations: 76.3 kB / 1.03 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/1.131, allocations: 139.6 kB / 1.03 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/1.131, allocations: 97.06 kB / 1.03 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.131, allocations: 3.938 kB / 1.03 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009541/1.132, allocations: 430.6 kB / 1.03 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000207/1.132, allocations: 0.5228 MB / 1.031 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.132, allocations: 3.984 kB / 1.031 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007195/1.133, allocations: 171.8 kB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/1.133, allocations: 47.47 kB / 1.031 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008627/1.134, allocations: 0.8277 MB / 1.032 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/1.134, allocations: 31.83 kB / 1.032 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.135, allocations: 8 kB / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/1.135, allocations: 4 kB / 1.032 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008634/1.135, allocations: 357.8 kB / 1.032 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.135, allocations: 3.984 kB / 1.032 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/1.136, allocations: 173.1 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/1.136, allocations: 43.91 kB / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/1.139, allocations: 2.24 MB / 1.035 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/1.139, allocations: 27.77 kB / 1.035 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/1.139, allocations: 11.44 kB / 1.035 GB, free: 2.922 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 9.761e-05/1.139, allocations: 105 kB / 1.035 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/1.139, allocations: 39.59 kB / 1.035 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/1.14, allocations: 38.05 kB / 1.035 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.14, allocations: 4 kB / 1.035 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/1.14, allocations: 0 / 1.035 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.14, allocations: 0 / 1.035 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/1.14, allocations: 355.7 kB / 1.035 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.14, allocations: 0 / 1.035 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.14, allocations: 39.48 kB / 1.035 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/1.141, allocations: 167.3 kB / 1.036 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/1.141, allocations: 8 kB / 1.036 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/1.143, allocations: 2.223 MB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.143, allocations: 0 / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009774/1.144, allocations: 489 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009794/1.145, allocations: 0.8533 MB / 1.039 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/1.146, allocations: 127.1 kB / 1.039 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/1.146, allocations: 7.938 kB / 1.039 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.146, allocations: 19.89 kB / 1.039 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/1.146, allocations: 15.78 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/1.146, allocations: 4 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001826/1.146, allocations: 193.7 kB / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001738/1.148, allocations: 207.4 kB / 1.04 GB, free: 14.55 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/1.148, allocations: 99.25 kB / 1.04 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009718/1.149, allocations: 0.5085 MB / 1.04 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.149, allocations: 0 / 1.04 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/1.149, allocations: 251.6 kB / 1.04 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/1.15, allocations: 66.39 kB / 1.04 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.151, allocations: 487.8 kB / 1.041 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/1.151, allocations: 0.8268 MB / 1.042 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/1.151, allocations: 0 / 1.042 GB, free: 12.47 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)