Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001181/0.001181, allocations: 183.4 kB / 366.3 MB, free: 2.016 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.39/1.39, allocations: 205.1 MB / 0.6256 GB, free: 5.934 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.001002/0.001002, allocations: 96.14 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2521/0.2532, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.9217, allocations: 116.3 MB / 0.9727 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/1.097, allocations: 138.4 MB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.098, allocations: 76.56 kB / 1.108 GB, free: 9.973 MB / 0.7136 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.002754/1.101, allocations: 0.933 MB / 1.109 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.101, allocations: 8.531 kB / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/1.101, allocations: 9.375 kB / 1.109 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/1.101, allocations: 190.9 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.101, allocations: 4 kB / 1.109 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/1.101, allocations: 4 kB / 1.109 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/1.101, allocations: 41.36 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.101, allocations: 85.78 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.101, allocations: 4 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.101, allocations: 3.938 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.101, allocations: 0.5625 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/1.102, allocations: 0.6052 MB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/1.102, allocations: 171 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/1.102, allocations: 84.14 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/1.102, allocations: 80.66 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/1.102, allocations: 112.4 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/1.102, allocations: 0 / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.869e-05/1.102, allocations: 33.61 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.102, allocations: 51.41 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.102, allocations: 111.5 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/1.102, allocations: 25.7 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/1.102, allocations: 107.8 kB / 1.11 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/1.102, allocations: 8 kB / 1.111 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.102, allocations: 1.031 kB / 1.111 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.103, allocations: 314.8 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/1.103, allocations: 4 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/1.103, allocations: 18.58 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/1.103, allocations: 11.98 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.103, allocations: 4 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001215/1.103, allocations: 53.55 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.103, allocations: 4 kB / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.103, allocations: 0 / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.103, allocations: 0 / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/1.103, allocations: 11.98 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.103, allocations: 2.922 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/1.103, allocations: 0 / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.103, allocations: 4 kB / 1.111 GB, free: 6.703 MB / 0.7136 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 8.442e-05/1.103, allocations: 184.3 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/1.103, allocations: 104.9 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/1.103, allocations: 108.5 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/1.103, allocations: 180.2 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-05/1.103, allocations: 185.1 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.048e-05/1.103, allocations: 192.3 kB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/1.104, allocations: 393.8 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.104, allocations: 108.9 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/1.104, allocations: 101 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-05/1.104, allocations: 184.3 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/1.104, allocations: 180.7 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.034e-05/1.104, allocations: 184.2 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/1.104, allocations: 180.3 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001372/1.104, allocations: 313 kB / 1.113 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002617/1.104, allocations: 0.6719 MB / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/1.104, allocations: 186.7 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/1.104, allocations: 184.2 kB / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/1.105, allocations: 104.9 kB / 1.115 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/1.105, allocations: 180.3 kB / 1.115 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/1.105, allocations: 105 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.509e-05/1.105, allocations: 99.27 kB / 1.115 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008153/1.106, allocations: 15.84 kB / 1.115 GB, free: 2.391 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.0001386/1.106, allocations: 171.7 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.095e-05/1.106, allocations: 8.297 kB / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.106, allocations: 0 / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/1.106, allocations: 8.188 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/1.106, allocations: 0.521 MB / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/1.106, allocations: 162.9 kB / 1.116 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.107, allocations: 0.7036 MB / 1.116 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.107, allocations: 4 kB / 1.116 GB, free: 0.7539 MB / 0.7136 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)