Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003542/0.003542, allocations: 176.8 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.665/0.665, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.4 MB / 391.4 MB, free: 13.01 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.001038/0.001038, allocations: 100.7 kB / 473.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.132e-05, allocations: 1.969 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 81.58 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.527, allocations: 1.828 GB / 2.456 GB, free: 55.32 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/4.528, allocations: 92.48 kB / 2.456 GB, free: 55.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.794/5.322, allocations: 209.7 MB / 2.661 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.602e-05/5.322, allocations: 4 kB / 2.661 GB, free: 111.1 MB / 0.6667 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.001457/5.323, allocations: 0.5716 MB / 2.661 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/5.323, allocations: 8.031 kB / 2.661 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/5.324, allocations: 27.72 kB / 2.661 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/5.324, allocations: 287.3 kB / 2.661 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/5.324, allocations: 4 kB / 2.661 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/5.324, allocations: 12 kB / 2.661 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002846/5.325, allocations: 99.97 kB / 2.662 GB, free: 110 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/5.325, allocations: 223.2 kB / 2.662 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/5.325, allocations: 3.938 kB / 2.662 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/5.325, allocations: 3.938 kB / 2.662 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/5.325, allocations: 7.984 kB / 2.662 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/5.326, allocations: 1.283 MB / 2.663 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/5.327, allocations: 163.7 kB / 2.663 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/5.327, allocations: 69.27 kB / 2.663 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/5.327, allocations: 117.1 kB / 2.663 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/5.327, allocations: 46.48 kB / 2.663 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/5.327, allocations: 4 kB / 2.663 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0005307/5.328, allocations: 137.3 kB / 2.664 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/5.328, allocations: 183.9 kB / 2.664 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/5.328, allocations: 180.7 kB / 2.664 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/5.328, allocations: 25.7 kB / 2.664 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/5.328, allocations: 136 kB / 2.664 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/5.328, allocations: 31.55 kB / 2.664 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/5.328, allocations: 0 / 2.664 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/5.328, allocations: 330.8 kB / 2.664 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/5.328, allocations: 24 kB / 2.664 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/5.328, allocations: 109.4 kB / 2.664 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/5.328, allocations: 79.77 kB / 2.665 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/5.328, allocations: 0 / 2.665 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003293/5.329, allocations: 161.3 kB / 2.665 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/5.329, allocations: 4 kB / 2.665 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/5.329, allocations: 4 kB / 2.665 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/5.329, allocations: 4 kB / 2.665 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/5.329, allocations: 36.14 kB / 2.665 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/5.329, allocations: 7.984 kB / 2.665 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/5.329, allocations: 23.83 kB / 2.665 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/5.329, allocations: 8 kB / 2.665 GB, free: 106.3 MB / 0.6667 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 8.833e-05/5.329, allocations: 116.9 kB / 2.665 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/5.33, allocations: 19.72 kB / 2.665 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/5.33, allocations: 118.9 kB / 2.665 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/5.33, allocations: 0 / 2.665 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/5.33, allocations: 4 kB / 2.665 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/5.33, allocations: 0 / 2.665 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/5.331, allocations: 0.7267 MB / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/5.331, allocations: 0 / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/5.331, allocations: 35.92 kB / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/5.331, allocations: 3.984 kB / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/5.331, allocations: 4 kB / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/5.331, allocations: 160 / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/5.331, allocations: 8 kB / 2.666 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00038/5.331, allocations: 363.9 kB / 2.666 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/5.331, allocations: 100.9 kB / 2.666 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/5.331, allocations: 0 / 2.666 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/5.331, allocations: 20.05 kB / 2.666 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/5.331, allocations: 11.89 kB / 2.666 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/5.331, allocations: 4 kB / 2.666 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.444e-05/5.332, allocations: 139.6 kB / 2.666 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007165/5.332, allocations: 131.8 kB / 2.667 GB, free: 104.4 MB / 0.6667 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.00208/5.334, allocations: 1.137 MB / 2.668 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002317/5.335, allocations: 83.86 kB / 2.668 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/5.335, allocations: 0 / 2.668 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/5.335, allocations: 47.92 kB / 2.668 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/5.335, allocations: 57.31 kB / 2.668 GB, free: 103 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/5.336, allocations: 332.4 kB / 2.668 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/5.336, allocations: 0.7784 MB / 2.669 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of SimCode: time 3.2e-07/5.336, allocations: 0 / 2.669 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.01446/5.351, allocations: 8.312 MB / 2.677 GB, free: 93.6 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)