Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [: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.2731/0.2731, 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.001164/0.001164, allocations: 185 kB / 75.38 MB, free: 1.527 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.611/1.611, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.00168/0.00168, allocations: 109.4 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.724e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 57.64 MB / 462.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.201/4.346, allocations: 2.127 GB / 2.578 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/4.346, allocations: 79.95 kB / 2.578 GB, free: 65.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.3738/4.72, allocations: 65.07 MB / 2.642 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.141e-05/4.72, allocations: 0 / 2.642 GB, free: 155.4 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006133/4.72, allocations: 0.5532 MB / 2.642 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/4.721, allocations: 13.25 kB / 2.643 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000866/4.721, allocations: 83.72 kB / 2.643 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/4.722, allocations: 217.7 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/4.722, allocations: 3.688 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/4.722, allocations: 8.688 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/4.722, allocations: 71.97 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/4.722, allocations: 126.3 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/4.722, allocations: 3.031 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/4.722, allocations: 2.719 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/4.722, allocations: 3.281 kB / 2.643 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/4.723, allocations: 377.1 kB / 2.643 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/4.723, allocations: 85.2 kB / 2.643 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/4.723, allocations: 68.66 kB / 2.644 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/4.723, allocations: 7.547 kB / 2.644 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/4.723, allocations: 30.56 kB / 2.644 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/4.723, allocations: 0 / 2.644 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000376/4.724, allocations: 181.5 kB / 2.644 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/4.724, allocations: 110.8 kB / 2.644 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/4.724, allocations: 120.2 kB / 2.644 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/4.724, allocations: 29.3 kB / 2.644 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/4.724, allocations: 101.8 kB / 2.644 GB, free: 154 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/4.724, allocations: 29.61 kB / 2.644 GB, free: 154 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/4.724, allocations: 0 / 2.644 GB, free: 154 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/4.724, allocations: 333 kB / 2.644 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/4.724, allocations: 72.28 kB / 2.644 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/4.724, allocations: 74.31 kB / 2.645 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/4.724, allocations: 89.83 kB / 2.645 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/4.724, allocations: 0 / 2.645 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003522/4.725, allocations: 218.5 kB / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/4.725, allocations: 3.969 kB / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/4.725, allocations: 7.438 kB / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/4.725, allocations: 0 / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/4.725, allocations: 24.45 kB / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/4.725, allocations: 0 / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/4.725, allocations: 32.17 kB / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/4.725, allocations: 11.91 kB / 2.645 GB, free: 153.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra1.i_w,masFra1.i_nw,masFra1.found,masFra2.i_w,masFra2.i_nw,masFra2.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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.0001303/4.725, allocations: 175.6 kB / 2.645 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/4.725, allocations: 11.56 kB / 2.645 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/4.725, allocations: 10.06 kB / 2.645 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/4.725, allocations: 2.906 kB / 2.645 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/4.725, allocations: 0 / 2.645 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/4.726, allocations: 0 / 2.645 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/4.726, allocations: 188.5 kB / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/4.726, allocations: 1.312 kB / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/4.726, allocations: 24.06 kB / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/4.726, allocations: 0 / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/4.726, allocations: 7.438 kB / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/4.726, allocations: 0 / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/4.726, allocations: 0 / 2.645 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003309/4.726, allocations: 313.3 kB / 2.646 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/4.726, allocations: 81.02 kB / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/4.726, allocations: 3.75 kB / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/4.727, allocations: 29.09 kB / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/4.727, allocations: 13.23 kB / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/4.727, allocations: 0 / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.454e-05/4.727, allocations: 103.6 kB / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004032/4.727, allocations: 85.55 kB / 2.646 GB, free: 153 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.00103/4.728, allocations: 0.7652 MB / 2.647 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003763/4.728, allocations: 305.8 kB / 2.647 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/4.729, allocations: 0 / 2.647 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/4.729, allocations: 156.5 kB / 2.647 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/4.729, allocations: 25.33 kB / 2.647 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/4.729, allocations: 237.4 kB / 2.647 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/4.73, allocations: 0.7186 MB / 2.648 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/4.73, allocations: 3.281 kB / 2.648 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.009859/4.739, allocations: 6.465 MB / 2.654 GB, free: 151.6 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)