Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.075/2.075, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001504/0.001504, allocations: 181.3 kB / 487 MB, free: 5.418 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.397/1.397, allocations: 221.3 MB / 0.7819 GB, free: 1.449 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.001044/0.001044, allocations: 96.5 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6295/0.6306, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.8954, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.496/5.391, allocations: 1.865 GB / 3.071 GB, free: 438 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/5.392, allocations: 89.77 kB / 3.071 GB, free: 438 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.4088/5.8, allocations: 210.3 MB / 3.276 GB, free: 250.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/5.8, allocations: 8 kB / 3.276 GB, free: 250.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/5.801, allocations: 35.62 kB / 3.276 GB, free: 250.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/5.801, allocations: 283.4 kB / 3.276 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/5.801, allocations: 4 kB / 3.276 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/5.801, allocations: 12 kB / 3.276 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002375/5.801, allocations: 95.97 kB / 3.277 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/5.802, allocations: 219 kB / 3.277 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/5.802, allocations: 0 / 3.277 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/5.802, allocations: 4 kB / 3.277 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/5.802, allocations: 4 kB / 3.277 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/5.803, allocations: 1.294 MB / 3.278 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/5.803, allocations: 155.6 kB / 3.278 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/5.803, allocations: 85.2 kB / 3.278 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/5.804, allocations: 117.1 kB / 3.278 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/5.804, allocations: 38.56 kB / 3.278 GB, free: 247.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/5.804, allocations: 3.938 kB / 3.278 GB, free: 247.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0005907/5.804, allocations: 145.4 kB / 3.279 GB, free: 247.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/5.804, allocations: 184.1 kB / 3.279 GB, free: 247.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/5.805, allocations: 162.2 kB / 3.279 GB, free: 247.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/5.805, allocations: 25.7 kB / 3.279 GB, free: 247.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/5.805, allocations: 147.9 kB / 3.279 GB, free: 246.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/5.805, allocations: 35.45 kB / 3.279 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/5.805, allocations: 0 / 3.279 GB, free: 246.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/5.805, allocations: 326.8 kB / 3.279 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/5.805, allocations: 35.92 kB / 3.279 GB, free: 246.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/5.805, allocations: 101.4 kB / 3.28 GB, free: 246.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/5.805, allocations: 75.86 kB / 3.28 GB, free: 246.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/5.805, allocations: 0 / 3.28 GB, free: 246.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002812/5.806, allocations: 165.2 kB / 3.28 GB, free: 246.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/5.806, allocations: 7.984 kB / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/5.806, allocations: 0 / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/5.806, allocations: 8.219 kB / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/5.806, allocations: 31.98 kB / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/5.806, allocations: 7.938 kB / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/5.806, allocations: 19.89 kB / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/5.806, allocations: 12 kB / 3.28 GB, free: 246.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.803e-05/5.806, allocations: 108.9 kB / 3.28 GB, free: 246 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/5.806, allocations: 23.8 kB / 3.28 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/5.807, allocations: 114.6 kB / 3.28 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/5.807, allocations: 4 kB / 3.28 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/5.807, allocations: 256 / 3.28 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/5.807, allocations: 4 kB / 3.28 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/5.807, allocations: 0.7306 MB / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.807, allocations: 3.984 kB / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/5.808, allocations: 23.98 kB / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/5.808, allocations: 8.156 kB / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/5.808, allocations: 0 / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/5.808, allocations: 4 kB / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/5.808, allocations: 3.938 kB / 3.281 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004031/5.808, allocations: 368.2 kB / 3.281 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007124/5.809, allocations: 0.813 MB / 3.282 GB, free: 243.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/5.809, allocations: 104.8 kB / 3.282 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/5.809, allocations: 3.906 kB / 3.282 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/5.809, allocations: 15.98 kB / 3.282 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/5.809, allocations: 7.984 kB / 3.282 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/5.809, allocations: 8.062 kB / 3.282 GB, free: 243.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.506e-05/5.809, allocations: 144.6 kB / 3.282 GB, free: 243.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001413/5.811, allocations: 227.8 kB / 3.282 GB, free: 243.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0017/5.812, allocations: 1.134 MB / 3.284 GB, free: 242 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001912/5.813, allocations: 84.17 kB / 3.284 GB, free: 241.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/5.813, allocations: 0 / 3.284 GB, free: 241.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/5.813, allocations: 43.98 kB / 3.284 GB, free: 241.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/5.813, allocations: 67.41 kB / 3.284 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/5.814, allocations: 333 kB / 3.284 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/5.814, allocations: 0.79 MB / 3.285 GB, free: 240.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/5.814, allocations: 3.938 kB / 3.285 GB, free: 240.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)