Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.419/1.419, allocations: 285.5 MB / 292.8 MB, free: 9.949 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.0009906/0.0009902, allocations: 181.3 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 0.6195 GB, free: 2.887 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 100.1 kB / 0.7326 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4444/0.4453, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.6339, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7213/1.355, allocations: 412.8 MB / 1.367 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.355, allocations: 95.81 kB / 1.367 GB, free: 10.38 MB / 0.8698 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 1.767/3.123, allocations: 0.5564 GB / 1.923 GB, free: 164.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/3.123, allocations: 7.781 kB / 1.923 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003853/3.127, allocations: 0.6513 MB / 1.924 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/3.131, allocations: 1.596 MB / 1.926 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/3.131, allocations: 85.8 kB / 1.926 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/3.131, allocations: 54.91 kB / 1.926 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002158/3.133, allocations: 1.1 MB / 1.927 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/3.135, allocations: 1.075 MB / 1.928 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/3.135, allocations: 7.469 kB / 1.928 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/3.136, allocations: 0 / 1.928 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/3.136, allocations: 34.03 kB / 1.928 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009021/3.145, allocations: 5.479 MB / 1.933 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/3.146, allocations: 0.846 MB / 1.934 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/3.146, allocations: 483.5 kB / 1.934 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/3.147, allocations: 1.076 MB / 1.935 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007011/3.148, allocations: 0.5473 MB / 1.936 GB, free: 160.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.256e-06/3.148, allocations: 0 / 1.936 GB, free: 160.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002142/3.15, allocations: 0.9927 MB / 1.937 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/3.15, allocations: 59.78 kB / 1.937 GB, free: 160 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/3.152, allocations: 1.014 MB / 1.938 GB, free: 159.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/3.152, allocations: 25.7 kB / 1.938 GB, free: 159.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/3.152, allocations: 450.9 kB / 1.939 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/3.152, allocations: 199.5 kB / 1.939 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/3.152, allocations: 0 / 1.939 GB, free: 159.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/3.152, allocations: 329.4 kB / 1.939 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/3.153, allocations: 418.8 kB / 1.939 GB, free: 159.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/3.154, allocations: 0.6423 MB / 1.94 GB, free: 158.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/3.155, allocations: 459.5 kB / 1.94 GB, free: 158.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/3.155, allocations: 7.031 kB / 1.94 GB, free: 158.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00215/3.157, allocations: 1.121 MB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/3.157, allocations: 7.844 kB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/3.157, allocations: 3.812 kB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/3.157, allocations: 7.812 kB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/3.158, allocations: 279 kB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/3.158, allocations: 15.62 kB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/3.16, allocations: 197.1 kB / 1.942 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/3.16, allocations: 53.84 kB / 1.942 GB, free: 158.7 MB / 0.948 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.0002544/3.16, allocations: 125 kB / 1.942 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/3.161, allocations: 128.6 kB / 1.942 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/3.163, allocations: 1.214 MB / 1.944 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/3.163, allocations: 11.06 kB / 1.944 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/3.163, allocations: 0 / 1.944 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/3.165, allocations: 1.027 MB / 1.945 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004862/3.17, allocations: 2.657 MB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/3.17, allocations: 3.906 kB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/3.171, allocations: 246.3 kB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/3.171, allocations: 3.906 kB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/3.171, allocations: 20.16 kB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/3.171, allocations: 8.562 kB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/3.171, allocations: 6.719 kB / 1.947 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003069/3.174, allocations: 2.005 MB / 1.949 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004009/3.178, allocations: 3.123 MB / 1.952 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/3.179, allocations: 379.9 kB / 1.953 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/3.18, allocations: 5.109 kB / 1.953 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/3.181, allocations: 145.8 kB / 1.953 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/3.181, allocations: 50.67 kB / 1.953 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/3.182, allocations: 48.31 kB / 1.953 GB, free: 156.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001308/3.183, allocations: 0.774 MB / 1.954 GB, free: 156.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002623/3.185, allocations: 0.584 MB / 1.954 GB, free: 156.3 MB / 0.948 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.001357/3.187, allocations: 0.6676 MB / 1.955 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00143/3.188, allocations: 0.9149 MB / 1.956 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/3.188, allocations: 0 / 1.956 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/3.189, allocations: 0.4884 MB / 1.956 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/3.192, allocations: 0.5166 MB / 1.957 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/3.197, allocations: 2.06 MB / 1.959 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/3.198, allocations: 1.395 MB / 1.96 GB, free: 154.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.71e-07/3.198, allocations: 0 / 1.96 GB, free: 154.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)