Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") [: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.001255/0.001255, allocations: 183.9 kB / 7.8 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4449/0.4449, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 96.55 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.815e-06, allocations: 4 kB / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2971, allocations: 72.3 MB / 0.5529 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.4008, allocations: 102.7 MB / 0.6532 GB, free: 7.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.401, allocations: 71.95 kB / 0.6533 GB, free: 7.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.007853/0.4089, allocations: 2.26 MB / 0.6555 GB, free: 5.043 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.4089, allocations: 0 / 0.6555 GB, free: 5.043 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004437/0.4094, allocations: 406.2 kB / 0.6559 GB, free: 4.602 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4094, allocations: 8.031 kB / 0.6559 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.4094, allocations: 7.906 kB / 0.6559 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4096, allocations: 167 kB / 0.656 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4096, allocations: 4 kB / 0.656 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4096, allocations: 3.906 kB / 0.656 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.7e-05/0.4097, allocations: 20 kB / 0.6561 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.175e-05/0.4098, allocations: 52.69 kB / 0.6561 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4098, allocations: 7.875 kB / 0.6561 GB, free: 4.293 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4098, allocations: 6.062 kB / 0.6561 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4098, allocations: 0 / 0.6561 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.4101, allocations: 253.4 kB / 0.6564 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.628e-05/0.4102, allocations: 34.56 kB / 0.6564 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.4103, allocations: 12.86 kB / 0.6564 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.4105, allocations: 93.19 kB / 0.6565 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4105, allocations: 38.5 kB / 0.6565 GB, free: 3.789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4105, allocations: 0 / 0.6565 GB, free: 3.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003562/0.4109, allocations: 77.55 kB / 0.6566 GB, free: 3.707 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.4109, allocations: 59.41 kB / 0.6567 GB, free: 3.637 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.411, allocations: 97 kB / 0.6568 GB, free: 3.535 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.411, allocations: 29.7 kB / 0.6568 GB, free: 3.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.411, allocations: 88.03 kB / 0.6569 GB, free: 3.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.87e-05/0.4111, allocations: 11.84 kB / 0.6569 GB, free: 3.398 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.4111, allocations: 0 / 0.6569 GB, free: 3.398 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4112, allocations: 314.8 kB / 0.6572 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.4112, allocations: 8 kB / 0.6572 GB, free: 3.074 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.4112, allocations: 8 kB / 0.6572 GB, free: 3.066 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.4115, allocations: 39.94 kB / 0.6572 GB, free: 3.027 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4115, allocations: 0 / 0.6572 GB, free: 3.027 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002558/0.4117, allocations: 88.59 kB / 0.6573 GB, free: 2.938 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4117, allocations: 4 kB / 0.6573 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4118, allocations: 0 / 0.6573 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4118, allocations: 3.984 kB / 0.6573 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4119, allocations: 19.98 kB / 0.6574 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4119, allocations: 8 kB / 0.6574 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.412, allocations: 19.98 kB / 0.6574 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.412, allocations: 0 / 0.6574 GB, free: 2.883 MB / 474.7 MB 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 (3): * Single equations (assignments): 3 * 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.819e-05/0.4121, allocations: 104.9 kB / 0.6575 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4121, allocations: 8.188 kB / 0.6575 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4125, allocations: 103.1 kB / 0.6576 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4125, allocations: 0 / 0.6576 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4125, allocations: 0 / 0.6576 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4125, allocations: 0 / 0.6576 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4126, allocations: 146.2 kB / 0.6577 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4126, allocations: 5.422 kB / 0.6577 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.4128, allocations: 23.98 kB / 0.6578 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4128, allocations: 0 / 0.6578 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.4128, allocations: 4 kB / 0.6578 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4128, allocations: 3.906 kB / 0.6578 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4128, allocations: 0 / 0.6578 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002906/0.4131, allocations: 179.4 kB / 0.6579 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.4131, allocations: 77.11 kB / 0.658 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4132, allocations: 4 kB / 0.658 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4133, allocations: 19.97 kB / 0.658 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.4133, allocations: 6.25 kB / 0.658 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4134, allocations: 4 kB / 0.658 GB, free: 2.121 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.959e-05/0.4134, allocations: 100.9 kB / 0.6581 GB, free: 2.023 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.4137, allocations: 31.94 kB / 0.6582 GB, free: 1.992 MB / 474.7 MB 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 (3): * Single equations (assignments): 3 * 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.0001947/0.4139, allocations: 127.2 kB / 0.6583 GB, free: 1.859 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.414, allocations: 27.98 kB / 0.6583 GB, free: 1.832 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.414, allocations: 0 / 0.6583 GB, free: 1.832 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.414, allocations: 12 kB / 0.6583 GB, free: 1.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.4142, allocations: 8 kB / 0.6583 GB, free: 1.812 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.4144, allocations: 83.62 kB / 0.6584 GB, free: 1.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.4147, allocations: 0.6993 MB / 0.6591 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4147, allocations: 1.875 kB / 0.6591 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of Templates: time 0.003093/0.4178, allocations: 1.189 MB / 0.6603 GB, free: 15.84 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)