Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 179.9 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6038/0.6038, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.132/1.132, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008403, allocations: 102.3 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.492e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.73/2.844, allocations: 1.828 GB / 2.462 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/2.844, allocations: 91.67 kB / 2.462 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5663/3.41, allocations: 209.7 MB / 2.666 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.394e-05/3.41, allocations: 8.75 kB / 2.666 GB, free: 198.5 MB / 0.6823 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.0009174/3.411, allocations: 0.5709 MB / 2.667 GB, free: 198 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/3.411, allocations: 8.969 kB / 2.667 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/3.411, allocations: 29.78 kB / 2.667 GB, free: 198 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/3.412, allocations: 292.2 kB / 2.667 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/3.412, allocations: 5.875 kB / 2.667 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/3.412, allocations: 11.66 kB / 2.667 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002254/3.412, allocations: 96.5 kB / 2.667 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/3.412, allocations: 219.2 kB / 2.668 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/3.412, allocations: 3.938 kB / 2.668 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/3.412, allocations: 1.781 kB / 2.668 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/3.412, allocations: 4.781 kB / 2.668 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/3.413, allocations: 1.289 MB / 2.669 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/3.413, allocations: 164.4 kB / 2.669 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/3.414, allocations: 73.11 kB / 2.669 GB, free: 196 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/3.414, allocations: 114.6 kB / 2.669 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/3.414, allocations: 45.38 kB / 2.669 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/3.414, allocations: 0 / 2.669 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004259/3.414, allocations: 135.7 kB / 2.669 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/3.414, allocations: 189.7 kB / 2.67 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/3.415, allocations: 176.7 kB / 2.67 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/3.415, allocations: 26.61 kB / 2.67 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/3.415, allocations: 144.1 kB / 2.67 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/3.415, allocations: 31.42 kB / 2.67 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/3.415, allocations: 0.7188 kB / 2.67 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/3.415, allocations: 327.1 kB / 2.67 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/3.415, allocations: 28.48 kB / 2.67 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/3.415, allocations: 105.2 kB / 2.67 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/3.415, allocations: 78.42 kB / 2.67 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/3.415, allocations: 1.062 kB / 2.67 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003024/3.415, allocations: 157.3 kB / 2.671 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/3.415, allocations: 4.844 kB / 2.671 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/3.415, allocations: 1.844 kB / 2.671 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/3.415, allocations: 3.531 kB / 2.671 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/3.416, allocations: 43.77 kB / 2.671 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/3.416, allocations: 2.594 kB / 2.671 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/3.416, allocations: 25.2 kB / 2.671 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/3.416, allocations: 11.55 kB / 2.671 GB, free: 194.6 MB / 0.6823 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.374e-05/3.416, allocations: 107.7 kB / 2.671 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/3.416, allocations: 21.88 kB / 2.671 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/3.416, allocations: 120.4 kB / 2.671 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/3.416, allocations: 2.875 kB / 2.671 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/3.416, allocations: 1.625 kB / 2.671 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/3.416, allocations: 1.531 kB / 2.671 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/3.417, allocations: 0.7328 MB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/3.417, allocations: 1.5 kB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/3.417, allocations: 32.95 kB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/3.417, allocations: 2.125 kB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/3.417, allocations: 6.109 kB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/3.417, allocations: 6.359 kB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/3.417, allocations: 5.406 kB / 2.672 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003811/3.417, allocations: 364.3 kB / 2.672 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/3.418, allocations: 100.8 kB / 2.672 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/3.418, allocations: 2.438 kB / 2.672 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/3.418, allocations: 16.98 kB / 2.672 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/3.418, allocations: 16.36 kB / 2.672 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/3.418, allocations: 8.062 kB / 2.672 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.428e-05/3.418, allocations: 127.4 kB / 2.672 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004895/3.418, allocations: 130.7 kB / 2.672 GB, free: 193 MB / 0.6823 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.001336/3.42, allocations: 1.138 MB / 2.674 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001509/3.42, allocations: 75.92 kB / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/3.42, allocations: 4 kB / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/3.42, allocations: 43.86 kB / 2.674 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/3.42, allocations: 61.31 kB / 2.674 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/3.421, allocations: 329.5 kB / 2.674 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/3.421, allocations: 0.7861 MB / 2.675 GB, free: 191 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/3.421, allocations: 0 / 2.675 GB, free: 191 MB / 0.6823 GB Notification: Performance of Templates: time 0.01096/3.432, allocations: 8.304 MB / 2.683 GB, free: 182.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)