Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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 8.0.0/package.mo): time 2.263/2.263, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00169/0.00169, allocations: 183.5 kB / 360.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 94.41 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2813/0.2825, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.896, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/1.16, allocations: 137.3 MB / 1.097 GB, free: 3.574 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.16, allocations: 77.94 kB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.004484/1.165, allocations: 0.9423 MB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.165, allocations: 8 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/1.165, allocations: 9.906 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/1.165, allocations: 186.8 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/1.165, allocations: 0 / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/1.165, allocations: 4 kB / 1.098 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001374/1.165, allocations: 35.98 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/1.165, allocations: 94.05 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.165, allocations: 3.938 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.165, allocations: 0 / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.165, allocations: 5.906 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/1.166, allocations: 0.6059 MB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/1.166, allocations: 169.1 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/1.166, allocations: 80.14 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/1.166, allocations: 76.75 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/1.166, allocations: 114 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/1.166, allocations: 4.75 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.527e-05/1.167, allocations: 33.61 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.167, allocations: 52 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/1.167, allocations: 111 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/1.167, allocations: 26.27 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/1.167, allocations: 108.3 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/1.167, allocations: 4 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/1.167, allocations: 0.5312 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.167, allocations: 316 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/1.167, allocations: 4 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/1.167, allocations: 24.17 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/1.167, allocations: 5.719 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.167, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001589/1.167, allocations: 54.16 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.167, allocations: 4.688 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.167, allocations: 96 / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.167, allocations: 8 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/1.168, allocations: 5.406 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.168, allocations: 3.938 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/1.168, allocations: 0 / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/1.168, allocations: 4 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.168, allocations: 184 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.168, allocations: 113 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/1.168, allocations: 109.4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.861e-05/1.168, allocations: 180.2 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.798e-05/1.168, allocations: 184.2 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/1.168, allocations: 180.2 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.169, allocations: 398.9 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-05/1.169, allocations: 109 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/1.169, allocations: 108.9 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.486e-05/1.169, allocations: 180.2 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/1.169, allocations: 176.7 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.041e-05/1.169, allocations: 178.5 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-05/1.169, allocations: 192.2 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001701/1.169, allocations: 309.1 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003577/1.17, allocations: 0.6735 MB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.17, allocations: 186.5 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/1.17, allocations: 184.2 kB / 1.103 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/1.17, allocations: 101 kB / 1.103 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/1.17, allocations: 184.2 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/1.17, allocations: 108.9 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.469e-05/1.17, allocations: 88.92 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001107/1.171, allocations: 15.84 kB / 1.104 GB, free: 11.96 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001799/1.172, allocations: 178.5 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.158e-05/1.172, allocations: 8.359 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.172, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/1.172, allocations: 7.938 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/1.172, allocations: 0.5195 MB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/1.172, allocations: 155.8 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/1.173, allocations: 0.7075 MB / 1.105 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/1.173, allocations: 0 / 1.105 GB, free: 10.32 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)