Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7666/0.7666, allocations: 141.8 MB / 149.1 MB, free: 13.18 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 185 kB / 181.9 MB, free: 9.859 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 436 MB, free: 2.312 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 94.48 kB / 0.507 GB, free: 11.08 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001904, allocations: 281.5 kB / 0.5884 GB, free: 7.926 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.614e-06, allocations: 0 / 0.6759 GB, free: 14.29 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.469, allocations: 82.76 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.06/3.529, allocations: 1.686 GB / 2.443 GB, free: 68.12 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/3.529, allocations: 88.42 kB / 2.443 GB, free: 68.03 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1212/3.65, allocations: 64.13 MB / 2.506 GB, free: 2.82 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 1.366e-05/3.65, allocations: 4 kB / 2.506 GB, free: 2.816 MB / 0.6982 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.0006863/3.651, allocations: 434.1 kB / 2.506 GB, free: 2.348 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/3.651, allocations: 12.03 kB / 2.506 GB, free: 2.336 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/3.652, allocations: 83.69 kB / 2.506 GB, free: 2.254 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/3.652, allocations: 215 kB / 2.506 GB, free: 2.004 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/3.652, allocations: 0 / 2.506 GB, free: 2.004 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/3.652, allocations: 11.91 kB / 2.506 GB, free: 1.992 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000183/3.653, allocations: 71.97 kB / 2.506 GB, free: 1.922 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/3.653, allocations: 97.5 kB / 2.507 GB, free: 1.82 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/3.653, allocations: 0 / 2.507 GB, free: 1.82 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/3.653, allocations: 0 / 2.507 GB, free: 1.82 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/3.653, allocations: 4 kB / 2.507 GB, free: 1.816 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/3.654, allocations: 377.1 kB / 2.507 GB, free: 1.41 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/3.654, allocations: 200 kB / 2.507 GB, free: 1.188 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/3.654, allocations: 52.83 kB / 2.507 GB, free: 1.133 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/3.654, allocations: 8 kB / 2.507 GB, free: 1.125 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/3.654, allocations: 30.56 kB / 2.507 GB, free: 1.086 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/3.654, allocations: 0 / 2.507 GB, free: 1.086 MB / 0.6982 GB Notification: Performance of matching and sorting (n=8): time 0.0002479/3.654, allocations: 105.5 kB / 2.507 GB, free: 0.9766 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/3.654, allocations: 55.34 kB / 2.507 GB, free: 0.9102 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/3.654, allocations: 120.2 kB / 2.507 GB, free: 0.7852 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/3.654, allocations: 25.7 kB / 2.508 GB, free: 0.7539 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/3.655, allocations: 100.1 kB / 2.508 GB, free: 0.6523 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/3.655, allocations: 27.64 kB / 2.508 GB, free: 0.625 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/3.655, allocations: 4 kB / 2.508 GB, free: 0.6211 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/3.655, allocations: 318.8 kB / 2.508 GB, free: 308 kB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/3.655, allocations: 27.98 kB / 2.508 GB, free: 280 kB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/3.655, allocations: 50.56 kB / 2.508 GB, free: 220 kB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/3.655, allocations: 23.98 kB / 2.508 GB, free: 196 kB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/3.655, allocations: 4 kB / 2.508 GB, free: 192 kB / 0.6982 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/3.655, allocations: 93.77 kB / 2.508 GB, free: 92 kB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/3.655, allocations: 11.94 kB / 2.508 GB, free: 80 kB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/3.655, allocations: 0 / 2.508 GB, free: 80 kB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/3.655, allocations: 3.938 kB / 2.508 GB, free: 76 kB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/3.655, allocations: 39.89 kB / 2.508 GB, free: 36 kB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/3.655, allocations: 4 kB / 2.508 GB, free: 32 kB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/3.655, allocations: 23.89 kB / 2.508 GB, free: 8 kB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/3.655, allocations: 8 kB / 2.508 GB, free: 0 / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.2541/3.91, allocations: 104.3 kB / 2.508 GB, free: 290.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/3.91, allocations: 8.844 kB / 2.508 GB, free: 290.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/3.91, allocations: 16.3 kB / 2.508 GB, free: 290.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/3.91, allocations: 0 / 2.508 GB, free: 290.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/3.91, allocations: 0 / 2.508 GB, free: 290.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/3.91, allocations: 7.281 kB / 2.508 GB, free: 290.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/3.91, allocations: 374.1 kB / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/3.91, allocations: 3.156 kB / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/3.911, allocations: 38.47 kB / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/3.911, allocations: 0 / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/3.911, allocations: 3.594 kB / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/3.911, allocations: 0 / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.911, allocations: 0 / 2.509 GB, free: 290.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000214/3.911, allocations: 200.2 kB / 2.509 GB, free: 290 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/3.911, allocations: 87.92 kB / 2.509 GB, free: 289.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/3.911, allocations: 0 / 2.509 GB, free: 289.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/3.911, allocations: 31.28 kB / 2.509 GB, free: 289.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/3.911, allocations: 3.344 kB / 2.509 GB, free: 289.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/3.911, allocations: 3.703 kB / 2.509 GB, free: 289.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 4.31e-05/3.911, allocations: 96.88 kB / 2.509 GB, free: 289.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0003755/3.912, allocations: 67.78 kB / 2.509 GB, free: 289.8 MB / 0.6982 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 (8): * Single equations (assignments): 8 * 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.0007764/3.913, allocations: 0.74 MB / 2.51 GB, free: 289.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001703/3.913, allocations: 60.02 kB / 2.51 GB, free: 289.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/3.913, allocations: 6.906 kB / 2.51 GB, free: 289.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/3.913, allocations: 42.52 kB / 2.51 GB, free: 289.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/3.913, allocations: 22.25 kB / 2.51 GB, free: 289.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/3.914, allocations: 165.1 kB / 2.51 GB, free: 289.6 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/3.914, allocations: 0.7278 MB / 2.511 GB, free: 288.9 MB / 0.6982 GB Notification: Performance of SimCode: time 2.6e-07/3.914, allocations: 0 / 2.511 GB, free: 288.9 MB / 0.6982 GB Notification: Performance of Templates: time 0.009103/3.923, allocations: 5.632 MB / 2.516 GB, free: 288.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)