Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.5125/0.5125, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001455/0.001455, allocations: 181.7 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.373/1.373, allocations: 170.5 MB / 319 MB, free: 9.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001749/0.001749, allocations: 110.9 kB / 381 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.675e-06, allocations: 0 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1565, allocations: 61.51 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.89/1.047, allocations: 362.1 MB / 0.8517 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.047, allocations: 80.67 kB / 0.8518 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.4942/1.541, allocations: 83.45 MB / 0.9333 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.222e-05/1.541, allocations: 7.812 kB / 0.9333 GB, free: 121.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001146/1.542, allocations: 0.5679 MB / 0.9338 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.542, allocations: 12.47 kB / 0.9339 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/1.543, allocations: 40.25 kB / 0.9339 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/1.544, allocations: 332 kB / 0.9342 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/1.544, allocations: 7.906 kB / 0.9342 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/1.544, allocations: 11.72 kB / 0.9342 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000373/1.544, allocations: 151 kB / 0.9344 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/1.544, allocations: 250.9 kB / 0.9346 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.545, allocations: 3.984 kB / 0.9346 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/1.545, allocations: 7.875 kB / 0.9346 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.545, allocations: 3.906 kB / 0.9346 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/1.547, allocations: 1.226 MB / 0.9358 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/1.547, allocations: 97.53 kB / 0.9359 GB, free: 119 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/1.547, allocations: 40.23 kB / 0.936 GB, free: 119 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/1.547, allocations: 282.7 kB / 0.9362 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/1.547, allocations: 39.09 kB / 0.9363 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/1.547, allocations: 0 / 0.9363 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0005208/1.548, allocations: 153.6 kB / 0.9364 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.548, allocations: 102.8 kB / 0.9365 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/1.548, allocations: 213.5 kB / 0.9367 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/1.548, allocations: 29.64 kB / 0.9367 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.548, allocations: 179 kB / 0.9369 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/1.548, allocations: 47.23 kB / 0.937 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/1.548, allocations: 3.969 kB / 0.937 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.549, allocations: 330.7 kB / 0.9373 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/1.549, allocations: 39.38 kB / 0.9373 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/1.549, allocations: 141.7 kB / 0.9374 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/1.549, allocations: 86.92 kB / 0.9375 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.549, allocations: 0 / 0.9375 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004496/1.549, allocations: 219.7 kB / 0.9377 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.55, allocations: 7.906 kB / 0.9377 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.55, allocations: 5.828 kB / 0.9377 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.55, allocations: 7.656 kB / 0.9378 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/1.55, allocations: 70.58 kB / 0.9378 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/1.55, allocations: 7.844 kB / 0.9378 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/1.55, allocations: 39.36 kB / 0.9379 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/1.55, allocations: 7.812 kB / 0.9379 GB, free: 117.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 0.0001144/1.55, allocations: 112.8 kB / 0.938 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/1.55, allocations: 31.33 kB / 0.938 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/1.551, allocations: 167.1 kB / 0.9382 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.551, allocations: 0 / 0.9382 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.551, allocations: 0 / 0.9382 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/1.551, allocations: 7.844 kB / 0.9382 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/1.551, allocations: 265.3 kB / 0.9384 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.551, allocations: 3.938 kB / 0.9384 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/1.552, allocations: 54.59 kB / 0.9385 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.552, allocations: 5.625 kB / 0.9385 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.552, allocations: 3.984 kB / 0.9385 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.552, allocations: 3.875 kB / 0.9385 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.552, allocations: 0 / 0.9385 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004513/1.552, allocations: 292.9 kB / 0.9388 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/1.552, allocations: 100.7 kB / 0.9389 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/1.552, allocations: 3.812 kB / 0.9389 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.553, allocations: 19.67 kB / 0.9389 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/1.553, allocations: 11.86 kB / 0.9389 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/1.553, allocations: 3.781 kB / 0.9389 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001463/1.553, allocations: 173.9 kB / 0.9391 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005491/1.553, allocations: 98.02 kB / 0.9392 GB, free: 116.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0006465/1.554, allocations: 261.6 kB / 0.9394 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000269/1.554, allocations: 106.6 kB / 0.9395 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.554, allocations: 3.906 kB / 0.9395 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/1.554, allocations: 44.06 kB / 0.9396 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/1.555, allocations: 107.2 kB / 0.9397 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/1.556, allocations: 349.8 kB / 0.94 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/1.556, allocations: 0.8033 MB / 0.9408 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/1.556, allocations: 0 / 0.9408 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.01065/1.567, allocations: 5.059 MB / 0.9457 GB, free: 112.6 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)