Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.573/2.573, allocations: 284.8 MB / 292.1 MB, free: 10.69 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.001694/0.001693, allocations: 185.2 kB / 360.3 MB, free: 7.504 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.916/1.916, 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.001236/0.001236, allocations: 89.11 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.267/0.2683, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.9502, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/2.029, allocations: 412.6 MB / 1.366 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/2.029, allocations: 86.7 kB / 1.366 GB, free: 155.5 MB / 0.8542 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.431/4.46, allocations: 0.5564 GB / 1.922 GB, free: 42.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/4.461, allocations: 16.48 kB / 1.922 GB, free: 42.06 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/4.467, allocations: 0.6536 MB / 1.923 GB, free: 41.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/4.473, allocations: 1.597 MB / 1.924 GB, free: 39.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/4.474, allocations: 87.67 kB / 1.924 GB, free: 39.69 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/4.474, allocations: 60 kB / 1.924 GB, free: 39.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003456/4.477, allocations: 1.093 MB / 1.926 GB, free: 38.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/4.48, allocations: 1.084 MB / 1.927 GB, free: 37.42 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/4.481, allocations: 3.938 kB / 1.927 GB, free: 37.41 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/4.481, allocations: 4 kB / 1.927 GB, free: 37.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/4.481, allocations: 24 kB / 1.927 GB, free: 37.39 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/4.499, allocations: 5.478 MB / 1.932 GB, free: 31.76 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/4.503, allocations: 0.85 MB / 1.933 GB, free: 30.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/4.505, allocations: 486.6 kB / 1.933 GB, free: 30.42 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/4.506, allocations: 1.082 MB / 1.934 GB, free: 29.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/4.509, allocations: 0.54 MB / 1.935 GB, free: 28.55 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=60): time 6.793e-06/4.509, allocations: 0 / 1.935 GB, free: 28.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=60): time 0.006297/4.515, allocations: 0.9986 MB / 1.936 GB, free: 27.54 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/4.515, allocations: 63.91 kB / 1.936 GB, free: 27.47 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/4.517, allocations: 1.013 MB / 1.937 GB, free: 26.45 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000292/4.518, allocations: 25.7 kB / 1.937 GB, free: 26.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/4.518, allocations: 444.3 kB / 1.937 GB, free: 25.98 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/4.519, allocations: 197 kB / 1.938 GB, free: 25.78 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/4.519, allocations: 0 / 1.938 GB, free: 25.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/4.519, allocations: 330 kB / 1.938 GB, free: 25.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/4.52, allocations: 421.4 kB / 1.938 GB, free: 25.04 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/4.521, allocations: 0.6444 MB / 1.939 GB, free: 24.29 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/4.523, allocations: 459.8 kB / 1.939 GB, free: 23.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/4.523, allocations: 0 / 1.939 GB, free: 23.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003933/4.527, allocations: 1.119 MB / 1.94 GB, free: 22.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/4.527, allocations: 8 kB / 1.94 GB, free: 22.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/4.527, allocations: 4 kB / 1.94 GB, free: 22.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/4.527, allocations: 8 kB / 1.94 GB, free: 22.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/4.53, allocations: 284.1 kB / 1.941 GB, free: 22.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/4.53, allocations: 15.92 kB / 1.941 GB, free: 22.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/4.533, allocations: 191.1 kB / 1.941 GB, free: 22.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/4.533, allocations: 55.95 kB / 1.941 GB, free: 22.16 MB / 0.9323 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.0003088/4.534, allocations: 124.8 kB / 1.941 GB, free: 22.03 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/4.534, allocations: 126.4 kB / 1.941 GB, free: 21.91 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/4.538, allocations: 1.211 MB / 1.942 GB, free: 20.69 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/4.539, allocations: 15.98 kB / 1.942 GB, free: 20.68 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/4.539, allocations: 0 / 1.942 GB, free: 20.68 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003075/4.542, allocations: 1.026 MB / 1.943 GB, free: 19.62 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/4.55, allocations: 2.665 MB / 1.946 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/4.55, allocations: 0 / 1.946 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/4.552, allocations: 239.8 kB / 1.946 GB, free: 16.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/4.552, allocations: 8 kB / 1.946 GB, free: 16.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/4.552, allocations: 19.97 kB / 1.946 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/4.553, allocations: 8 kB / 1.946 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/4.553, allocations: 3.938 kB / 1.946 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005463/4.558, allocations: 2.015 MB / 1.948 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007055/4.565, allocations: 3.122 MB / 1.951 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/4.566, allocations: 375.2 kB / 1.952 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/4.567, allocations: 4 kB / 1.952 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/4.57, allocations: 147.7 kB / 1.952 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/4.57, allocations: 52.42 kB / 1.952 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/4.57, allocations: 51.95 kB / 1.952 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001691/4.572, allocations: 0.7702 MB / 1.953 GB, free: 9.934 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003697/4.576, allocations: 0.5815 MB / 1.953 GB, free: 9.352 MB / 0.9323 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.001807/4.577, allocations: 0.6744 MB / 1.954 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002405/4.58, allocations: 0.9157 MB / 1.955 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/4.58, allocations: 0 / 1.955 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/4.581, allocations: 0.4937 MB / 1.955 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/4.586, allocations: 0.5103 MB / 1.956 GB, free: 6.793 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008258/4.595, allocations: 2.048 MB / 1.958 GB, free: 4.688 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/4.597, allocations: 1.395 MB / 1.959 GB, free: 3.262 MB / 0.9323 GB Notification: Performance of SimCode: time 1.874e-06/4.597, allocations: 0 / 1.959 GB, free: 3.262 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)