Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001044/0.001043, allocations: 185.2 kB / 487 MB, free: 5.383 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.36/1.36, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009095, allocations: 86.94 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6046/0.6056, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.8817, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.905, allocations: 425.2 MB / 1.62 GB, free: 14.37 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.905, allocations: 90.58 kB / 1.621 GB, free: 14.33 MB / 1.057 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.292/4.197, allocations: 0.571 GB / 2.192 GB, free: 254.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/4.197, allocations: 6.594 kB / 2.192 GB, free: 254.7 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/4.201, allocations: 0.6572 MB / 2.192 GB, free: 254.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/4.204, allocations: 1.623 MB / 2.194 GB, free: 254.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/4.204, allocations: 89.33 kB / 2.194 GB, free: 254.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/4.204, allocations: 56.28 kB / 2.194 GB, free: 254.2 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/4.206, allocations: 1.091 MB / 2.195 GB, free: 254.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/4.207, allocations: 1.09 MB / 2.196 GB, free: 254.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/4.207, allocations: 0 / 2.196 GB, free: 254.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/4.208, allocations: 7.312 kB / 2.196 GB, free: 254.1 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/4.208, allocations: 40.14 kB / 2.196 GB, free: 254.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008101/4.216, allocations: 5.47 MB / 2.201 GB, free: 252.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/4.217, allocations: 0.8439 MB / 2.202 GB, free: 252.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/4.218, allocations: 488.5 kB / 2.203 GB, free: 252.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007339/4.218, allocations: 1.073 MB / 2.204 GB, free: 250.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007707/4.219, allocations: 0.5491 MB / 2.204 GB, free: 250.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=60): time 3.596e-06/4.219, allocations: 0 / 2.204 GB, free: 250.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=60): time 0.002115/4.221, allocations: 0.994 MB / 2.205 GB, free: 250.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/4.221, allocations: 61.75 kB / 2.205 GB, free: 250.6 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/4.223, allocations: 1.014 MB / 2.206 GB, free: 250.5 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/4.223, allocations: 31.77 kB / 2.206 GB, free: 250.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/4.223, allocations: 443.4 kB / 2.207 GB, free: 250.3 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/4.224, allocations: 203 kB / 2.207 GB, free: 250.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/4.224, allocations: 0 / 2.207 GB, free: 250.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/4.224, allocations: 329.1 kB / 2.207 GB, free: 249.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/4.224, allocations: 418.2 kB / 2.208 GB, free: 249.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/4.225, allocations: 0.6304 MB / 2.208 GB, free: 249.6 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/4.226, allocations: 459.1 kB / 2.209 GB, free: 249.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/4.226, allocations: 3.062 kB / 2.209 GB, free: 249.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001973/4.228, allocations: 1.121 MB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/4.228, allocations: 3.938 kB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/4.228, allocations: 6.062 kB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/4.228, allocations: 11.81 kB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/4.229, allocations: 276.6 kB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/4.229, allocations: 15.33 kB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/4.231, allocations: 192.2 kB / 2.21 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/4.231, allocations: 63.75 kB / 2.21 GB, free: 249.5 MB / 1.135 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.0001912/4.231, allocations: 118.5 kB / 2.211 GB, free: 249.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/4.231, allocations: 127.2 kB / 2.211 GB, free: 249.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/4.234, allocations: 1.215 MB / 2.212 GB, free: 249.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/4.234, allocations: 7.844 kB / 2.212 GB, free: 249.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/4.234, allocations: 3.281 kB / 2.212 GB, free: 249.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/4.235, allocations: 1.031 MB / 2.213 GB, free: 249.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/4.24, allocations: 2.669 MB / 2.215 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/4.24, allocations: 3.438 kB / 2.215 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/4.241, allocations: 234.5 kB / 2.216 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/4.241, allocations: 5.125 kB / 2.216 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/4.241, allocations: 22.03 kB / 2.216 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/4.241, allocations: 6.906 kB / 2.216 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/4.241, allocations: 3.781 kB / 2.216 GB, free: 248.7 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003023/4.244, allocations: 2.019 MB / 2.218 GB, free: 248.3 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003846/4.248, allocations: 3.114 MB / 2.221 GB, free: 247.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/4.249, allocations: 381.3 kB / 2.221 GB, free: 247.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/4.249, allocations: 7.344 kB / 2.221 GB, free: 247.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/4.25, allocations: 150 kB / 2.221 GB, free: 247.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/4.25, allocations: 53.03 kB / 2.221 GB, free: 247.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/4.25, allocations: 51.22 kB / 2.221 GB, free: 247.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001084/4.252, allocations: 0.7771 MB / 2.222 GB, free: 247.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002836/4.254, allocations: 0.5775 MB / 2.223 GB, free: 247.2 MB / 1.135 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.001579/4.256, allocations: 0.679 MB / 2.223 GB, free: 247 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001706/4.258, allocations: 0.9114 MB / 2.224 GB, free: 247 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/4.258, allocations: 0 / 2.224 GB, free: 247 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0007335/4.258, allocations: 0.4914 MB / 2.225 GB, free: 247 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/4.261, allocations: 0.5091 MB / 2.225 GB, free: 247 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/4.266, allocations: 2.043 MB / 2.227 GB, free: 246.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/4.268, allocations: 1.405 MB / 2.229 GB, free: 245.7 MB / 1.135 GB Notification: Performance of SimCode: time 8.72e-07/4.268, allocations: 0 / 2.229 GB, free: 245.7 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)