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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [: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 1.979/1.979, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001294/0.001294, allocations: 177.3 kB / 487 MB, free: 5.371 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.439/1.439, allocations: 221.3 MB / 0.7819 GB, free: 1.484 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.001126/0.001127, allocations: 91.08 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.464e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2673, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.246/4.514, allocations: 1.865 GB / 3.071 GB, free: 432.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/4.514, allocations: 85.92 kB / 3.071 GB, free: 432.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.3842/4.898, allocations: 209.7 MB / 3.275 GB, free: 229.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.181e-05/4.898, allocations: 4 kB / 3.275 GB, free: 229.8 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.0007937/4.899, allocations: 0.5717 MB / 3.276 GB, free: 229.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/4.899, allocations: 9.031 kB / 3.276 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/4.899, allocations: 31.62 kB / 3.276 GB, free: 229.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/4.899, allocations: 283.5 kB / 3.276 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/4.9, allocations: 8 kB / 3.276 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/4.9, allocations: 8 kB / 3.276 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001847/4.9, allocations: 103.9 kB / 3.276 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/4.9, allocations: 219 kB / 3.277 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/4.9, allocations: 0 / 3.277 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/4.9, allocations: 0 / 3.277 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/4.9, allocations: 4 kB / 3.277 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/4.901, allocations: 1.294 MB / 3.278 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/4.901, allocations: 155.8 kB / 3.278 GB, free: 226.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/4.901, allocations: 73.14 kB / 3.278 GB, free: 226.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/4.901, allocations: 125 kB / 3.278 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/4.901, allocations: 42.56 kB / 3.278 GB, free: 226.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/4.901, allocations: 0 / 3.278 GB, free: 226.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004248/4.902, allocations: 133.3 kB / 3.278 GB, free: 226.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/4.902, allocations: 192.1 kB / 3.279 GB, free: 226.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/4.902, allocations: 162.2 kB / 3.279 GB, free: 226 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/4.902, allocations: 25.7 kB / 3.279 GB, free: 226 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/4.902, allocations: 144 kB / 3.279 GB, free: 225.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/4.902, allocations: 31.47 kB / 3.279 GB, free: 225.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/4.902, allocations: 0 / 3.279 GB, free: 225.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/4.902, allocations: 330.8 kB / 3.279 GB, free: 225.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/4.902, allocations: 27.94 kB / 3.279 GB, free: 225.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/4.902, allocations: 117.3 kB / 3.279 GB, free: 225.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/4.903, allocations: 67.94 kB / 3.279 GB, free: 225.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/4.903, allocations: 0 / 3.279 GB, free: 225.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002589/4.903, allocations: 161.2 kB / 3.28 GB, free: 225.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/4.903, allocations: 4 kB / 3.28 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/4.903, allocations: 4 kB / 3.28 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/4.903, allocations: 4 kB / 3.28 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/4.903, allocations: 44.12 kB / 3.28 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/4.903, allocations: 4 kB / 3.28 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/4.903, allocations: 19.89 kB / 3.28 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/4.903, allocations: 8 kB / 3.28 GB, free: 225 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 5.831e-05/4.903, allocations: 118.8 kB / 3.28 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/4.903, allocations: 19.75 kB / 3.28 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/4.904, allocations: 126.8 kB / 3.28 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/4.904, allocations: 0 / 3.28 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/4.904, allocations: 4 kB / 3.28 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/4.904, allocations: 0 / 3.28 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/4.904, allocations: 0.7267 MB / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/4.904, allocations: 3.984 kB / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/4.904, allocations: 27.98 kB / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/4.904, allocations: 0 / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/4.904, allocations: 8.156 kB / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/4.904, allocations: 0 / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/4.904, allocations: 4 kB / 3.281 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003376/4.905, allocations: 360.3 kB / 3.281 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/4.905, allocations: 104.9 kB / 3.281 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/4.905, allocations: 7.922 kB / 3.281 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/4.905, allocations: 16.06 kB / 3.281 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/4.905, allocations: 11.98 kB / 3.281 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/4.905, allocations: 4 kB / 3.281 GB, free: 223.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.098e-05/4.905, allocations: 140.6 kB / 3.281 GB, free: 223.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005129/4.906, allocations: 127.8 kB / 3.281 GB, free: 223.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.001223/4.907, allocations: 1.148 MB / 3.283 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001672/4.907, allocations: 91.78 kB / 3.283 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/4.907, allocations: 0 / 3.283 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/4.907, allocations: 35.94 kB / 3.283 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/4.908, allocations: 61.38 kB / 3.283 GB, free: 221.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/4.908, allocations: 336.4 kB / 3.283 GB, free: 221.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/4.908, allocations: 0.7822 MB / 3.284 GB, free: 220.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/4.908, allocations: 0 / 3.284 GB, free: 220.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01209/4.921, allocations: 8.324 MB / 3.292 GB, free: 212.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches