Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") [: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.001674/0.001674, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6/0.6, 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.24 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.0008051/0.0008048, allocations: 90.47 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.154e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.802/2.918, allocations: 1.829 GB / 2.462 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/2.918, allocations: 81.64 kB / 2.462 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5847/3.503, allocations: 224 MB / 2.681 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.782e-05/3.503, allocations: 16 kB / 2.681 GB, free: 162.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007888/3.504, allocations: 0.6026 MB / 2.682 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/3.504, allocations: 12.03 kB / 2.682 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/3.504, allocations: 87.61 kB / 2.682 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/3.505, allocations: 295.1 kB / 2.682 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/3.505, allocations: 8 kB / 2.682 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/3.505, allocations: 15.98 kB / 2.682 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002294/3.505, allocations: 157.3 kB / 2.682 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/3.505, allocations: 243.7 kB / 2.683 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/3.505, allocations: 0 / 2.683 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/3.505, allocations: 0 / 2.683 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/3.505, allocations: 4 kB / 2.683 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/3.507, allocations: 1.441 MB / 2.684 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/3.507, allocations: 145.1 kB / 2.684 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/3.507, allocations: 68.41 kB / 2.684 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/3.507, allocations: 120.2 kB / 2.684 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/3.507, allocations: 38.41 kB / 2.684 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/3.507, allocations: 0 / 2.684 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003888/3.507, allocations: 141.5 kB / 2.684 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/3.507, allocations: 162.2 kB / 2.685 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/3.508, allocations: 207.9 kB / 2.685 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/3.508, allocations: 25.7 kB / 2.685 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/3.508, allocations: 151.9 kB / 2.685 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/3.508, allocations: 31.55 kB / 2.685 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-06/3.508, allocations: 0 / 2.685 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.205e-05/3.508, allocations: 330.8 kB / 2.685 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/3.508, allocations: 59.89 kB / 2.685 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/3.508, allocations: 136.9 kB / 2.685 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/3.508, allocations: 91.91 kB / 2.686 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/3.508, allocations: 4 kB / 2.686 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004201/3.509, allocations: 225.3 kB / 2.686 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/3.509, allocations: 12 kB / 2.686 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/3.509, allocations: 4 kB / 2.686 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/3.509, allocations: 4 kB / 2.686 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/3.509, allocations: 43.91 kB / 2.686 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/3.509, allocations: 0 / 2.686 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/3.509, allocations: 35.81 kB / 2.686 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/3.509, allocations: 15.91 kB / 2.686 GB, free: 157.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.01e-05/3.509, allocations: 105 kB / 2.686 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/3.509, allocations: 15.81 kB / 2.686 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/3.509, allocations: 123.4 kB / 2.686 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/3.51, allocations: 7.906 kB / 2.686 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/3.51, allocations: 0 / 2.686 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/3.51, allocations: 8 kB / 2.686 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/3.51, allocations: 0.7958 MB / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/3.51, allocations: 4 kB / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/3.51, allocations: 36.08 kB / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/3.51, allocations: 4 kB / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/3.51, allocations: 0 / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/3.51, allocations: 4 kB / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/3.51, allocations: 0 / 2.687 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003256/3.511, allocations: 363.9 kB / 2.687 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/3.511, allocations: 109 kB / 2.687 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/3.511, allocations: 4 kB / 2.687 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/3.511, allocations: 15.98 kB / 2.687 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/3.511, allocations: 15.92 kB / 2.687 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/3.511, allocations: 4.125 kB / 2.687 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.007e-05/3.511, allocations: 164.5 kB / 2.688 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004958/3.512, allocations: 179.8 kB / 2.688 GB, free: 155.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001064/3.513, allocations: 1.184 MB / 2.689 GB, free: 154 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001732/3.513, allocations: 111.8 kB / 2.689 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/3.513, allocations: 0 / 2.689 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/3.513, allocations: 43.88 kB / 2.689 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/3.513, allocations: 62.78 kB / 2.689 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/3.514, allocations: 349.2 kB / 2.689 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/3.514, allocations: 0.7863 MB / 2.69 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/3.514, allocations: 0 / 2.69 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.01175/3.526, allocations: 9.697 MB / 2.7 GB, free: 143 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)