Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.435/1.435, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001052/0.001052, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.241/1.241, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008534/0.0008536, allocations: 94.61 kB / 0.7325 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2382/0.2391, allocations: 121.4 MB / 0.8511 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.8193, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.454/4.273, allocations: 2.06 GB / 3.024 GB, free: 53.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/4.274, allocations: 88.48 kB / 3.024 GB, free: 53.47 MB / 0.948 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.7526/5.026, allocations: 208.3 MB / 3.227 GB, free: 234.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/5.026, allocations: 12.5 kB / 3.227 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/5.027, allocations: 27.72 kB / 3.227 GB, free: 234.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/5.027, allocations: 279.5 kB / 3.228 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/5.027, allocations: 7.906 kB / 3.228 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/5.027, allocations: 12 kB / 3.228 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001934/5.027, allocations: 99.75 kB / 3.228 GB, free: 234.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/5.027, allocations: 226.2 kB / 3.228 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/5.027, allocations: 4 kB / 3.228 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/5.027, allocations: 0 / 3.228 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/5.027, allocations: 4 kB / 3.228 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/5.028, allocations: 1.283 MB / 3.229 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/5.029, allocations: 155.6 kB / 3.229 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/5.029, allocations: 81.27 kB / 3.229 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/5.029, allocations: 125 kB / 3.229 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/5.029, allocations: 38.5 kB / 3.23 GB, free: 232.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/5.029, allocations: 0 / 3.23 GB, free: 232.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004398/5.029, allocations: 145.2 kB / 3.23 GB, free: 232.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/5.029, allocations: 188.1 kB / 3.23 GB, free: 231.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/5.03, allocations: 170.1 kB / 3.23 GB, free: 231.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/5.03, allocations: 25.7 kB / 3.23 GB, free: 231.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/5.03, allocations: 140 kB / 3.23 GB, free: 231.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/5.03, allocations: 35.41 kB / 3.23 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/5.03, allocations: 0 / 3.23 GB, free: 231.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/5.03, allocations: 330.8 kB / 3.231 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/5.03, allocations: 24 kB / 3.231 GB, free: 231.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.251e-05/5.03, allocations: 109.4 kB / 3.231 GB, free: 231 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/5.03, allocations: 71.88 kB / 3.231 GB, free: 231 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/5.03, allocations: 0 / 3.231 GB, free: 231 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00027/5.03, allocations: 161.3 kB / 3.231 GB, free: 230.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/5.03, allocations: 5.719 kB / 3.231 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/5.03, allocations: 4 kB / 3.231 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/5.03, allocations: 4.219 kB / 3.231 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/5.031, allocations: 40.09 kB / 3.231 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/5.031, allocations: 8 kB / 3.231 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/5.031, allocations: 27.77 kB / 3.231 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/5.031, allocations: 12 kB / 3.231 GB, free: 230.7 MB / 0.948 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 6.283e-05/5.031, allocations: 116.8 kB / 3.231 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/5.031, allocations: 15.81 kB / 3.231 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/5.031, allocations: 110.7 kB / 3.231 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/5.031, allocations: 4 kB / 3.231 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/5.031, allocations: 4 kB / 3.231 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/5.031, allocations: 0 / 3.231 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/5.032, allocations: 0.7228 MB / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/5.032, allocations: 0 / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/5.032, allocations: 27.92 kB / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/5.032, allocations: 12.09 kB / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/5.032, allocations: 4 kB / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/5.032, allocations: 3.906 kB / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/5.032, allocations: 0 / 3.232 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003363/5.032, allocations: 360.1 kB / 3.232 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005427/5.033, allocations: 0.825 MB / 3.233 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/5.033, allocations: 104.8 kB / 3.233 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/5.033, allocations: 0 / 3.233 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/5.033, allocations: 19.98 kB / 3.233 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/5.033, allocations: 11.89 kB / 3.233 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/5.033, allocations: 8.062 kB / 3.233 GB, free: 228.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.696e-05/5.033, allocations: 132.7 kB / 3.233 GB, free: 228 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001215/5.035, allocations: 235.8 kB / 3.234 GB, free: 227.8 MB / 0.948 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.001378/5.036, allocations: 1.134 MB / 3.235 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001751/5.036, allocations: 84.27 kB / 3.235 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/5.036, allocations: 4.125 kB / 3.235 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/5.036, allocations: 39.92 kB / 3.235 GB, free: 226.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/5.037, allocations: 55.38 kB / 3.235 GB, free: 226.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/5.037, allocations: 342.5 kB / 3.235 GB, free: 226.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/5.037, allocations: 0.7901 MB / 3.236 GB, free: 225.3 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/5.037, allocations: 0 / 3.236 GB, free: 225.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)