Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2987/0.2987, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001216/0.001216, allocations: 179.3 kB / 75.37 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.672/1.672, allocations: 194.2 MB / 283.2 MB, free: 3.562 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001938/0.001938, allocations: 114.4 kB / 341.3 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.276e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 57.64 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.837/4.984, allocations: 2.119 GB / 2.571 GB, free: 84.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/4.984, allocations: 87.94 kB / 2.571 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.739/5.724, allocations: 218.6 MB / 2.785 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.949e-05/5.724, allocations: 8 kB / 2.785 GB, free: 66.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002044/5.726, allocations: 0.7058 MB / 2.785 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/5.726, allocations: 19.91 kB / 2.785 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/5.727, allocations: 111.4 kB / 2.786 GB, free: 65.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/5.728, allocations: 331.9 kB / 2.786 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/5.728, allocations: 12 kB / 2.786 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/5.728, allocations: 16 kB / 2.786 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005737/5.728, allocations: 285.2 kB / 2.786 GB, free: 65.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/5.729, allocations: 364.4 kB / 2.787 GB, free: 64.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/5.729, allocations: 0 / 2.787 GB, free: 64.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/5.729, allocations: 4 kB / 2.787 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/5.729, allocations: 8 kB / 2.787 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/5.732, allocations: 1.689 MB / 2.788 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/5.732, allocations: 54.62 kB / 2.788 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/5.732, allocations: 28.86 kB / 2.788 GB, free: 62.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/5.733, allocations: 117.1 kB / 2.788 GB, free: 62.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/5.733, allocations: 34.56 kB / 2.788 GB, free: 62.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/5.733, allocations: 0 / 2.788 GB, free: 62.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004656/5.733, allocations: 113.3 kB / 2.789 GB, free: 62.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/5.733, allocations: 63.41 kB / 2.789 GB, free: 62.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/5.733, allocations: 276.9 kB / 2.789 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/5.733, allocations: 25.7 kB / 2.789 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/5.734, allocations: 223 kB / 2.789 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/5.734, allocations: 27.64 kB / 2.789 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/5.734, allocations: 0 / 2.789 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/5.734, allocations: 338.7 kB / 2.789 GB, free: 61.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/5.734, allocations: 71.97 kB / 2.789 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/5.734, allocations: 173.7 kB / 2.79 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/5.734, allocations: 131.9 kB / 2.79 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/5.734, allocations: 3.938 kB / 2.79 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000628/5.735, allocations: 309 kB / 2.79 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/5.735, allocations: 4 kB / 2.79 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/5.735, allocations: 7.906 kB / 2.79 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/5.735, allocations: 4 kB / 2.79 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/5.735, allocations: 64.31 kB / 2.79 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/5.735, allocations: 4 kB / 2.79 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/5.736, allocations: 39.67 kB / 2.79 GB, free: 60.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/5.736, allocations: 23.98 kB / 2.79 GB, free: 60.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.0001046/5.736, allocations: 108.9 kB / 2.79 GB, free: 60.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/5.736, allocations: 27.8 kB / 2.79 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/5.736, allocations: 127.4 kB / 2.79 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/5.736, allocations: 4 kB / 2.79 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/5.736, allocations: 0 / 2.79 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/5.736, allocations: 0 / 2.79 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/5.737, allocations: 496.4 kB / 2.791 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/5.737, allocations: 0 / 2.791 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/5.737, allocations: 19.98 kB / 2.791 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/5.737, allocations: 4 kB / 2.791 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/5.737, allocations: 4 kB / 2.791 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/5.737, allocations: 0 / 2.791 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/5.737, allocations: 4 kB / 2.791 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004117/5.738, allocations: 276.4 kB / 2.791 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/5.738, allocations: 136.7 kB / 2.791 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/5.738, allocations: 3.984 kB / 2.791 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/5.738, allocations: 23.95 kB / 2.791 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/5.738, allocations: 4 kB / 2.791 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/5.738, allocations: 15.98 kB / 2.791 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001911/5.739, allocations: 213.2 kB / 2.792 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001013/5.74, allocations: 211.6 kB / 2.792 GB, free: 58.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.002073/5.742, allocations: 1.18 MB / 2.793 GB, free: 57.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003206/5.742, allocations: 148.4 kB / 2.793 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/5.742, allocations: 0 / 2.793 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/5.742, allocations: 27.88 kB / 2.793 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/5.743, allocations: 68.94 kB / 2.793 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/5.744, allocations: 400.3 kB / 2.794 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/5.744, allocations: 0.8255 MB / 2.794 GB, free: 56.26 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/5.744, allocations: 0 / 2.794 GB, free: 56.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.01838/5.762, allocations: 11.06 MB / 2.805 GB, free: 45.21 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)