Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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 10.0.0-master/package.mo): time 2.067/2.067, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 185.2 kB / 490.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 90.97 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7593/0.7605, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/1.042, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/2.191, allocations: 426 MB / 1.628 GB, free: 5.594 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/2.191, allocations: 91.97 kB / 1.628 GB, free: 5.547 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 2.489/4.68, allocations: 0.571 GB / 2.199 GB, free: 384.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/4.68, allocations: 14.66 kB / 2.199 GB, free: 384.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/4.684, allocations: 0.6475 MB / 2.199 GB, free: 384 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/4.687, allocations: 1.627 MB / 2.201 GB, free: 383.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/4.688, allocations: 81.36 kB / 2.201 GB, free: 383.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/4.688, allocations: 60.62 kB / 2.201 GB, free: 383.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001931/4.69, allocations: 1.093 MB / 2.202 GB, free: 383.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/4.691, allocations: 1.091 MB / 2.203 GB, free: 383.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/4.692, allocations: 3.594 kB / 2.203 GB, free: 383.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/4.692, allocations: 0 / 2.203 GB, free: 383.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/4.692, allocations: 35.53 kB / 2.203 GB, free: 383.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00869/4.7, allocations: 5.456 MB / 2.209 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/4.702, allocations: 0.8455 MB / 2.209 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/4.702, allocations: 485.2 kB / 2.21 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008167/4.703, allocations: 1.077 MB / 2.211 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008364/4.704, allocations: 0.5422 MB / 2.211 GB, free: 380.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 4.128e-06/4.704, allocations: 3.312 kB / 2.211 GB, free: 380.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.002373/4.706, allocations: 0.9949 MB / 2.212 GB, free: 380.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/4.706, allocations: 62.78 kB / 2.212 GB, free: 380.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/4.708, allocations: 1.014 MB / 2.213 GB, free: 379.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/4.708, allocations: 29.27 kB / 2.213 GB, free: 379.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/4.708, allocations: 445.6 kB / 2.214 GB, free: 379.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/4.709, allocations: 200 kB / 2.214 GB, free: 379.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/4.709, allocations: 0 / 2.214 GB, free: 379.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/4.709, allocations: 339.2 kB / 2.214 GB, free: 379.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/4.709, allocations: 417.1 kB / 2.215 GB, free: 379.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/4.71, allocations: 0.6366 MB / 2.215 GB, free: 379.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/4.711, allocations: 455.9 kB / 2.216 GB, free: 379 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/4.711, allocations: 2.531 kB / 2.216 GB, free: 379 MB / 1.151 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002247/4.714, allocations: 1.12 MB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/4.714, allocations: 6.094 kB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/4.714, allocations: 6.844 kB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/4.714, allocations: 14.41 kB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/4.715, allocations: 283.5 kB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/4.715, allocations: 9.938 kB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/4.717, allocations: 189.3 kB / 2.217 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/4.717, allocations: 57.12 kB / 2.218 GB, free: 378.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0002501/4.717, allocations: 132.5 kB / 2.218 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/4.717, allocations: 126.8 kB / 2.218 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/4.72, allocations: 1.213 MB / 2.219 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/4.72, allocations: 10.62 kB / 2.219 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/4.72, allocations: 3.906 kB / 2.219 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001683/4.722, allocations: 1.027 MB / 2.22 GB, free: 378.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/4.726, allocations: 2.67 MB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/4.726, allocations: 9.391 kB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/4.728, allocations: 237 kB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/4.728, allocations: 6.875 kB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/4.728, allocations: 24.67 kB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/4.728, allocations: 11.11 kB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/4.728, allocations: 7.344 kB / 2.223 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002911/4.731, allocations: 2 MB / 2.225 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003667/4.734, allocations: 3.125 MB / 2.228 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/4.735, allocations: 380.4 kB / 2.228 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/4.735, allocations: 3.625 kB / 2.228 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/4.737, allocations: 148.9 kB / 2.228 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/4.737, allocations: 45.36 kB / 2.228 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/4.737, allocations: 53.81 kB / 2.228 GB, free: 376.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001068/4.738, allocations: 0.772 MB / 2.229 GB, free: 376.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002285/4.74, allocations: 0.5823 MB / 2.23 GB, free: 376.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.001229/4.741, allocations: 0.6654 MB / 2.23 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001404/4.743, allocations: 0.9124 MB / 2.231 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/4.743, allocations: 1.625 kB / 2.231 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006614/4.744, allocations: 0.4899 MB / 2.232 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/4.746, allocations: 0.5174 MB / 2.232 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/4.751, allocations: 2.043 MB / 2.234 GB, free: 376 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/4.753, allocations: 1.403 MB / 2.236 GB, free: 375.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.803e-06/4.753, allocations: 0 / 2.236 GB, free: 375.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)