Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [: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.002313/0.002313, allocations: 173.5 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6108/0.6108, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.21 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.0008435/0.0008435, allocations: 94.86 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.83e-06, allocations: 0 / 0.5528 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.797/2.917, allocations: 1.83 GB / 2.463 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/2.918, allocations: 87.95 kB / 2.463 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7099/3.628, allocations: 300.1 MB / 2.756 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.671e-05/3.628, allocations: 15.98 kB / 2.756 GB, free: 108.4 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009641/3.629, allocations: 0.6426 MB / 2.757 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/3.629, allocations: 12.02 kB / 2.757 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/3.629, allocations: 63.48 kB / 2.757 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/3.629, allocations: 322 kB / 2.757 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/3.629, allocations: 8 kB / 2.757 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/3.629, allocations: 16 kB / 2.757 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002417/3.63, allocations: 145.3 kB / 2.757 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/3.63, allocations: 264.7 kB / 2.757 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/3.63, allocations: 3.938 kB / 2.757 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/3.63, allocations: 0 / 2.757 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/3.63, allocations: 8 kB / 2.757 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/3.631, allocations: 1.474 MB / 2.759 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/3.631, allocations: 90.55 kB / 2.759 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/3.631, allocations: 68.84 kB / 2.759 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/3.632, allocations: 303.2 kB / 2.759 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/3.632, allocations: 34.56 kB / 2.759 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/3.632, allocations: 3.938 kB / 2.759 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005299/3.632, allocations: 205.3 kB / 2.759 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/3.632, allocations: 63.34 kB / 2.76 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/3.632, allocations: 189 kB / 2.76 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/3.632, allocations: 25.7 kB / 2.76 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/3.633, allocations: 172 kB / 2.76 GB, free: 104 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/3.633, allocations: 35.38 kB / 2.76 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/3.633, allocations: 0 / 2.76 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.197e-05/3.633, allocations: 330.8 kB / 2.76 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/3.633, allocations: 43.98 kB / 2.76 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/3.633, allocations: 105.5 kB / 2.76 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/3.633, allocations: 91.8 kB / 2.761 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/3.633, allocations: 3.984 kB / 2.761 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002912/3.633, allocations: 205.2 kB / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/3.633, allocations: 4 kB / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/3.633, allocations: 4 kB / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/3.633, allocations: 0 / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/3.633, allocations: 39.92 kB / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/3.633, allocations: 0 / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/3.634, allocations: 35.97 kB / 2.761 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/3.634, allocations: 12 kB / 2.761 GB, free: 103 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 4.926e-05/3.634, allocations: 104.9 kB / 2.761 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/3.634, allocations: 23.72 kB / 2.761 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/3.634, allocations: 203.7 kB / 2.761 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/3.634, allocations: 3.906 kB / 2.761 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/3.634, allocations: 3.984 kB / 2.761 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/3.634, allocations: 4 kB / 2.761 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/3.635, allocations: 0.6293 MB / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/3.635, allocations: 4 kB / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/3.635, allocations: 35.91 kB / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/3.635, allocations: 0 / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/3.635, allocations: 8.219 kB / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/3.635, allocations: 4 kB / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/3.635, allocations: 0 / 2.762 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002945/3.635, allocations: 416.2 kB / 2.762 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/3.635, allocations: 112.8 kB / 2.762 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/3.635, allocations: 0 / 2.762 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/3.636, allocations: 19.98 kB / 2.762 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/3.636, allocations: 19.92 kB / 2.762 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/3.636, allocations: 4 kB / 2.762 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.917e-05/3.636, allocations: 153.2 kB / 2.762 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004829/3.636, allocations: 155.7 kB / 2.763 GB, free: 101 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.001332/3.638, allocations: 1.367 MB / 2.764 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001891/3.638, allocations: 115.8 kB / 2.764 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/3.638, allocations: 0 / 2.764 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/3.638, allocations: 71.84 kB / 2.764 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/3.638, allocations: 77.12 kB / 2.764 GB, free: 99.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/3.639, allocations: 359.5 kB / 2.765 GB, free: 98.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/3.639, allocations: 0.8097 MB / 2.765 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/3.639, allocations: 0 / 2.765 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.0133/3.652, allocations: 10.31 MB / 2.775 GB, free: 87.86 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)