Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [: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.002648/0.002648, allocations: 179.1 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6227/0.6227, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.145/1.145, allocations: 221.4 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.0008856/0.0008856, allocations: 97.52 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.995e-06, allocations: 2.719 kB / 0.5528 GB, free: 89.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.783/2.901, allocations: 1.831 GB / 2.464 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/2.901, allocations: 87.95 kB / 2.464 GB, free: 134 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7088/3.61, allocations: 306.1 MB / 2.763 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.524e-05/3.61, allocations: 12 kB / 2.763 GB, free: 100.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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001066/3.611, allocations: 0.7136 MB / 2.764 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/3.611, allocations: 8.031 kB / 2.764 GB, free: 99.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009199/3.612, allocations: 135.3 kB / 2.764 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/3.613, allocations: 345.9 kB / 2.765 GB, free: 99.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/3.613, allocations: 54.3 kB / 2.765 GB, free: 99.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/3.613, allocations: 16 kB / 2.765 GB, free: 99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002968/3.613, allocations: 213.2 kB / 2.765 GB, free: 98.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/3.614, allocations: 294 kB / 2.765 GB, free: 98.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/3.614, allocations: 3.938 kB / 2.765 GB, free: 98.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/3.614, allocations: 4 kB / 2.765 GB, free: 98.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/3.614, allocations: 8 kB / 2.765 GB, free: 98.47 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/3.615, allocations: 1.406 MB / 2.766 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/3.615, allocations: 170.6 kB / 2.767 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/3.615, allocations: 100.8 kB / 2.767 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/3.616, allocations: 0.5013 MB / 2.767 GB, free: 96.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/3.616, allocations: 38.56 kB / 2.767 GB, free: 96.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/3.616, allocations: 0 / 2.767 GB, free: 96.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0008416/3.617, allocations: 288.5 kB / 2.768 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/3.617, allocations: 51.41 kB / 2.768 GB, free: 95.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/3.617, allocations: 189.1 kB / 2.768 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/3.617, allocations: 25.7 kB / 2.768 GB, free: 95.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/3.617, allocations: 179.9 kB / 2.768 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/3.617, allocations: 47.3 kB / 2.768 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/3.617, allocations: 0 / 2.768 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/3.617, allocations: 338.8 kB / 2.768 GB, free: 94.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/3.617, allocations: 63.97 kB / 2.768 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/3.617, allocations: 147 kB / 2.769 GB, free: 94.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/3.618, allocations: 134.2 kB / 2.769 GB, free: 94.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/3.618, allocations: 3.906 kB / 2.769 GB, free: 94.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006098/3.618, allocations: 281.3 kB / 2.769 GB, free: 94.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/3.618, allocations: 11.91 kB / 2.769 GB, free: 94.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/3.618, allocations: 4 kB / 2.769 GB, free: 94.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/3.618, allocations: 4 kB / 2.769 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/3.619, allocations: 43.91 kB / 2.769 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/3.619, allocations: 4 kB / 2.769 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/3.619, allocations: 35.94 kB / 2.769 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/3.619, allocations: 12 kB / 2.769 GB, free: 94.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.585e-05/3.619, allocations: 108.9 kB / 2.769 GB, free: 94.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/3.619, allocations: 23.72 kB / 2.769 GB, free: 94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/3.62, allocations: 319.2 kB / 2.769 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/3.62, allocations: 4 kB / 2.769 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/3.62, allocations: 0 / 2.769 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/3.62, allocations: 0 / 2.769 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/3.621, allocations: 1.235 MB / 2.771 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/3.621, allocations: 8.031 kB / 2.771 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/3.621, allocations: 39.91 kB / 2.771 GB, free: 92.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/3.621, allocations: 4 kB / 2.771 GB, free: 92.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/3.622, allocations: 12 kB / 2.771 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/3.622, allocations: 4.062 kB / 2.771 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.622, allocations: 4 kB / 2.771 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004674/3.622, allocations: 0.5343 MB / 2.771 GB, free: 91.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/3.622, allocations: 132.8 kB / 2.771 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/3.622, allocations: 7.906 kB / 2.771 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/3.622, allocations: 27.97 kB / 2.771 GB, free: 91.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/3.622, allocations: 15.92 kB / 2.771 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/3.623, allocations: 19.98 kB / 2.771 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.767e-05/3.623, allocations: 149.2 kB / 2.772 GB, free: 91.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006253/3.623, allocations: 215.6 kB / 2.772 GB, free: 90.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001354/3.625, allocations: 1.408 MB / 2.773 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002527/3.625, allocations: 183.8 kB / 2.773 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/3.625, allocations: 0 / 2.773 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/3.625, allocations: 96.58 kB / 2.773 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/3.625, allocations: 88.73 kB / 2.774 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/3.626, allocations: 439.6 kB / 2.774 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/3.626, allocations: 0.8255 MB / 2.775 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/3.626, allocations: 0 / 2.775 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.01474/3.641, allocations: 12.26 MB / 2.787 GB, free: 75.65 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)