Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.8 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 95.25 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3865/0.3873, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.5772, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.233/4.81, allocations: 2.18 GB / 3.065 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/4.811, allocations: 87.08 kB / 3.065 GB, free: 182.9 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.7461/5.557, allocations: 215.6 MB / 3.275 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/5.557, allocations: 10.25 kB / 3.275 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/5.557, allocations: 85.73 kB / 3.275 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/5.558, allocations: 296 kB / 3.276 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/5.558, allocations: 11.56 kB / 3.276 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/5.558, allocations: 11.31 kB / 3.276 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002655/5.558, allocations: 156 kB / 3.276 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/5.558, allocations: 237.8 kB / 3.276 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/5.559, allocations: 1.312 kB / 3.276 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/5.559, allocations: 0 / 3.276 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/5.559, allocations: 3.625 kB / 3.276 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/5.56, allocations: 1.442 MB / 3.277 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/5.56, allocations: 135.9 kB / 3.278 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/5.56, allocations: 72.86 kB / 3.278 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/5.561, allocations: 118.1 kB / 3.278 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/5.561, allocations: 45.59 kB / 3.278 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 6.873e-06/5.561, allocations: 2.281 kB / 3.278 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004426/5.561, allocations: 139.8 kB / 3.278 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/5.561, allocations: 156.7 kB / 3.278 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/5.561, allocations: 209 kB / 3.278 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/5.561, allocations: 25.7 kB / 3.278 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/5.561, allocations: 152.6 kB / 3.278 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/5.561, allocations: 28.52 kB / 3.279 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-06/5.561, allocations: 0 / 3.279 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/5.561, allocations: 330.5 kB / 3.279 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/5.562, allocations: 49.39 kB / 3.279 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/5.562, allocations: 138 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/5.562, allocations: 101.8 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/5.562, allocations: 0 / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004393/5.562, allocations: 222.3 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/5.562, allocations: 7.812 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/5.562, allocations: 0 / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/5.562, allocations: 6.828 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/5.563, allocations: 38.86 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/5.563, allocations: 8.281 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/5.563, allocations: 33.48 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/5.563, allocations: 12.72 kB / 3.279 GB, free: 189.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.019e-05/5.563, allocations: 114.9 kB / 3.28 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/5.563, allocations: 18.5 kB / 3.28 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/5.563, allocations: 116.5 kB / 3.28 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/5.563, allocations: 0 / 3.28 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/5.563, allocations: 3.844 kB / 3.28 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/5.563, allocations: 0 / 3.28 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/5.564, allocations: 0.8003 MB / 3.28 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.564, allocations: 3.969 kB / 3.28 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/5.564, allocations: 27.75 kB / 3.28 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/5.564, allocations: 11.33 kB / 3.28 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/5.564, allocations: 3.938 kB / 3.281 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/5.564, allocations: 0 / 3.281 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/5.564, allocations: 3.625 kB / 3.281 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004193/5.565, allocations: 362.4 kB / 3.281 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000653/5.565, allocations: 0.8136 MB / 3.282 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/5.566, allocations: 110.9 kB / 3.282 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/5.566, allocations: 7.297 kB / 3.282 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/5.566, allocations: 10.16 kB / 3.282 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/5.566, allocations: 16.88 kB / 3.282 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/5.566, allocations: 3.812 kB / 3.282 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001134/5.566, allocations: 165.7 kB / 3.282 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001493/5.567, allocations: 283.4 kB / 3.282 GB, free: 187.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001641/5.569, allocations: 1.189 MB / 3.283 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002692/5.569, allocations: 111 kB / 3.283 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/5.569, allocations: 3.5 kB / 3.283 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/5.569, allocations: 39 kB / 3.284 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/5.57, allocations: 55.98 kB / 3.284 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/5.571, allocations: 355.9 kB / 3.284 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/5.571, allocations: 0.7874 MB / 3.285 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/5.571, allocations: 0 / 3.285 GB, free: 186.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)