Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004233/0.004233, allocations: 179.3 kB / 7.455 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.7114/0.7114, allocations: 130.6 MB / 138.5 MB, free: 2.184 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.674/1.674, allocations: 221.4 MB / 391.4 MB, free: 13.05 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.001013/0.001013, allocations: 96.66 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.033e-05, allocations: 6.594 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1902, allocations: 81.58 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.291/4.481, allocations: 1.829 GB / 2.456 GB, free: 49.24 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/4.482, allocations: 87.89 kB / 2.457 GB, free: 49.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.8141/5.296, allocations: 224 MB / 2.675 GB, free: 90.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.167e-05/5.296, allocations: 7.938 kB / 2.675 GB, free: 90.23 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00124/5.297, allocations: 0.6149 MB / 2.676 GB, free: 89.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/5.297, allocations: 11.97 kB / 2.676 GB, free: 89.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/5.298, allocations: 79.61 kB / 2.676 GB, free: 89.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/5.299, allocations: 291.4 kB / 2.676 GB, free: 89.15 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/5.299, allocations: 4 kB / 2.676 GB, free: 89.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/5.299, allocations: 16 kB / 2.676 GB, free: 89.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002867/5.299, allocations: 157.3 kB / 2.676 GB, free: 88.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/5.299, allocations: 235.5 kB / 2.677 GB, free: 88.72 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/5.299, allocations: 4 kB / 2.677 GB, free: 88.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/5.299, allocations: 0 / 2.677 GB, free: 88.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/5.299, allocations: 4 kB / 2.677 GB, free: 88.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/5.301, allocations: 1.429 MB / 2.678 GB, free: 87.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/5.301, allocations: 137.1 kB / 2.678 GB, free: 86.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/5.301, allocations: 72.41 kB / 2.678 GB, free: 86.89 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/5.302, allocations: 121 kB / 2.678 GB, free: 86.76 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/5.302, allocations: 46.41 kB / 2.678 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/5.302, allocations: 0 / 2.678 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0005011/5.302, allocations: 137.4 kB / 2.679 GB, free: 86.56 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/5.302, allocations: 162.2 kB / 2.679 GB, free: 86.37 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/5.302, allocations: 203.9 kB / 2.679 GB, free: 86.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/5.302, allocations: 25.7 kB / 2.679 GB, free: 86.13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/5.303, allocations: 155.9 kB / 2.679 GB, free: 85.97 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/5.303, allocations: 35.55 kB / 2.679 GB, free: 85.94 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/5.303, allocations: 128 / 2.679 GB, free: 85.94 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/5.303, allocations: 330.8 kB / 2.679 GB, free: 85.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/5.303, allocations: 55.88 kB / 2.679 GB, free: 85.55 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/5.303, allocations: 141.2 kB / 2.68 GB, free: 85.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/5.303, allocations: 91.91 kB / 2.68 GB, free: 85.29 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/5.303, allocations: 0 / 2.68 GB, free: 85.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000496/5.304, allocations: 229.2 kB / 2.68 GB, free: 85.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/5.304, allocations: 4 kB / 2.68 GB, free: 85.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/5.304, allocations: 0 / 2.68 GB, free: 85.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/5.304, allocations: 4 kB / 2.68 GB, free: 85.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/5.304, allocations: 39.92 kB / 2.68 GB, free: 85.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/5.304, allocations: 4 kB / 2.68 GB, free: 85.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/5.304, allocations: 32.03 kB / 2.68 GB, free: 84.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/5.304, allocations: 19.91 kB / 2.68 GB, free: 84.96 MB / 0.6667 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 8.22e-05/5.304, allocations: 112.9 kB / 2.68 GB, free: 84.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/5.305, allocations: 15.81 kB / 2.68 GB, free: 84.82 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/5.305, allocations: 123.5 kB / 2.68 GB, free: 84.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/5.305, allocations: 7.906 kB / 2.68 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/5.305, allocations: 4 kB / 2.68 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/5.305, allocations: 0 / 2.68 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/5.306, allocations: 0.7972 MB / 2.681 GB, free: 83.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/5.306, allocations: 8.094 kB / 2.681 GB, free: 83.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/5.306, allocations: 31.97 kB / 2.681 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/5.306, allocations: 0 / 2.681 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/5.306, allocations: 4 kB / 2.681 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/5.306, allocations: 0 / 2.681 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/5.306, allocations: 4 kB / 2.681 GB, free: 83.77 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004804/5.306, allocations: 367.9 kB / 2.681 GB, free: 83.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/5.307, allocations: 108.9 kB / 2.682 GB, free: 83.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/5.307, allocations: 4 kB / 2.682 GB, free: 83.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/5.307, allocations: 11.98 kB / 2.682 GB, free: 83.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/5.307, allocations: 16.05 kB / 2.682 GB, free: 83.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/5.307, allocations: 12.06 kB / 2.682 GB, free: 83.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001956/5.307, allocations: 164.5 kB / 2.682 GB, free: 83.03 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009578/5.308, allocations: 175.7 kB / 2.682 GB, free: 82.86 MB / 0.6667 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.00253/5.311, allocations: 1.185 MB / 2.683 GB, free: 81.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003385/5.311, allocations: 111.8 kB / 2.683 GB, free: 81.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/5.311, allocations: 0 / 2.683 GB, free: 81.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/5.311, allocations: 43.92 kB / 2.683 GB, free: 81.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/5.312, allocations: 57.44 kB / 2.683 GB, free: 81.47 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/5.312, allocations: 344.4 kB / 2.684 GB, free: 81.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/5.313, allocations: 0.7863 MB / 2.684 GB, free: 80.28 MB / 0.6667 GB Notification: Performance of SimCode: time 3.51e-07/5.313, allocations: 4 kB / 2.684 GB, free: 80.28 MB / 0.6667 GB Notification: Performance of Templates: time 0.01578/5.329, allocations: 9.7 MB / 2.694 GB, free: 70.61 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)