Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.03/2.03, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001076/0.001076, allocations: 179.9 kB / 487 MB, free: 5.387 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.384/1.384, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.001008/0.001008, allocations: 92.67 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5894/0.5904, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.8633, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/5.345, allocations: 1.866 GB / 3.071 GB, free: 396.9 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/5.345, allocations: 91.83 kB / 3.072 GB, free: 396.8 MB / 1.135 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.3962/5.741, allocations: 224.6 MB / 3.291 GB, free: 167.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/5.741, allocations: 8 kB / 3.291 GB, free: 167.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/5.742, allocations: 87.52 kB / 3.291 GB, free: 167.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/5.742, allocations: 299.4 kB / 3.291 GB, free: 167.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/5.742, allocations: 8 kB / 3.291 GB, free: 167.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/5.742, allocations: 12 kB / 3.291 GB, free: 167.1 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002356/5.742, allocations: 148 kB / 3.291 GB, free: 167 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/5.743, allocations: 236.5 kB / 3.292 GB, free: 166.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/5.743, allocations: 7.922 kB / 3.292 GB, free: 166.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/5.743, allocations: 11.91 kB / 3.292 GB, free: 166.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/5.743, allocations: 11.92 kB / 3.292 GB, free: 166.7 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/5.744, allocations: 1.429 MB / 3.293 GB, free: 165.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/5.744, allocations: 137.1 kB / 3.293 GB, free: 164.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/5.745, allocations: 68.41 kB / 3.293 GB, free: 164.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/5.745, allocations: 117.1 kB / 3.293 GB, free: 164.7 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/5.745, allocations: 50.5 kB / 3.293 GB, free: 164.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/5.745, allocations: 0 / 3.293 GB, free: 164.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=10): time 0.0004279/5.745, allocations: 141.3 kB / 3.294 GB, free: 164.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/5.745, allocations: 154.2 kB / 3.294 GB, free: 164.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/5.745, allocations: 212 kB / 3.294 GB, free: 164.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/5.745, allocations: 29.7 kB / 3.294 GB, free: 164.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/5.746, allocations: 144 kB / 3.294 GB, free: 163.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/5.746, allocations: 39.45 kB / 3.294 GB, free: 163.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/5.746, allocations: 0 / 3.294 GB, free: 163.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.666e-05/5.746, allocations: 334.8 kB / 3.294 GB, free: 163.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/5.746, allocations: 43.98 kB / 3.294 GB, free: 163.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/5.746, allocations: 142.2 kB / 3.295 GB, free: 163.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/5.746, allocations: 95.91 kB / 3.295 GB, free: 163.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/5.746, allocations: 0 / 3.295 GB, free: 163.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00044/5.746, allocations: 221.1 kB / 3.295 GB, free: 163 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/5.747, allocations: 4 kB / 3.295 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/5.747, allocations: 4 kB / 3.295 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/5.747, allocations: 4 kB / 3.295 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/5.747, allocations: 52.16 kB / 3.295 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/5.747, allocations: 4 kB / 3.295 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/5.747, allocations: 23.83 kB / 3.295 GB, free: 162.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/5.747, allocations: 8 kB / 3.295 GB, free: 162.9 MB / 1.135 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.02e-05/5.747, allocations: 115.6 kB / 3.295 GB, free: 162.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/5.747, allocations: 27.73 kB / 3.295 GB, free: 162.8 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/5.747, allocations: 123.5 kB / 3.295 GB, free: 162.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/5.748, allocations: 3.938 kB / 3.295 GB, free: 162.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/5.748, allocations: 0 / 3.295 GB, free: 162.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/5.748, allocations: 4 kB / 3.295 GB, free: 162.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/5.748, allocations: 0.8008 MB / 3.296 GB, free: 161.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/5.748, allocations: 0 / 3.296 GB, free: 161.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/5.748, allocations: 27.92 kB / 3.296 GB, free: 161.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/5.748, allocations: 4 kB / 3.296 GB, free: 161.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/5.748, allocations: 4.062 kB / 3.296 GB, free: 161.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/5.748, allocations: 8 kB / 3.296 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/5.748, allocations: 0 / 3.296 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003483/5.749, allocations: 363.9 kB / 3.296 GB, free: 161.3 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005389/5.749, allocations: 0.8169 MB / 3.297 GB, free: 160.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/5.749, allocations: 120.9 kB / 3.297 GB, free: 160.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/5.749, allocations: 3.906 kB / 3.297 GB, free: 160.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/5.75, allocations: 16.11 kB / 3.297 GB, free: 160.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/5.75, allocations: 11.98 kB / 3.297 GB, free: 160.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/5.75, allocations: 4 kB / 3.297 GB, free: 160.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 9.946e-05/5.75, allocations: 164.5 kB / 3.298 GB, free: 160.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001244/5.751, allocations: 287.8 kB / 3.298 GB, free: 159.8 MB / 1.135 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.001178/5.752, allocations: 1.186 MB / 3.299 GB, free: 158.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0001782/5.752, allocations: 107.8 kB / 3.299 GB, free: 158.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/5.752, allocations: 0 / 3.299 GB, free: 158.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/5.752, allocations: 43.92 kB / 3.299 GB, free: 158.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/5.753, allocations: 57.34 kB / 3.299 GB, free: 158.4 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/5.753, allocations: 352.5 kB / 3.3 GB, free: 158.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/5.754, allocations: 0.7863 MB / 3.3 GB, free: 157.3 MB / 1.135 GB Notification: Performance of SimCode: time 2.91e-07/5.754, allocations: 3.938 kB / 3.3 GB, free: 157.3 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)