Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.81/0.81, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 185.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 83.27 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.074e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1882, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.505/4.693, allocations: 2.144 GB / 2.765 GB, free: 68.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/4.693, allocations: 83.95 kB / 2.765 GB, free: 68.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1301/4.824, allocations: 66.31 MB / 2.83 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.896e-05/4.824, allocations: 0 / 2.83 GB, free: 0.9102 MB / 0.6355 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.0007768/4.824, allocations: 442.2 kB / 2.83 GB, free: 444 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/4.824, allocations: 8.031 kB / 2.83 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/4.825, allocations: 87.69 kB / 2.83 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/4.826, allocations: 214 kB / 2.831 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/4.826, allocations: 4 kB / 2.831 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/4.826, allocations: 4 kB / 2.831 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001955/4.826, allocations: 71.97 kB / 2.831 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3788/5.205, allocations: 95.64 kB / 2.831 GB, free: 272.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/5.205, allocations: 0 / 2.831 GB, free: 272.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/5.205, allocations: 0 / 2.831 GB, free: 272.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/5.205, allocations: 3.969 kB / 2.831 GB, free: 272.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/5.206, allocations: 378.3 kB / 2.831 GB, free: 272.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/5.207, allocations: 199 kB / 2.831 GB, free: 272.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/5.207, allocations: 46.55 kB / 2.831 GB, free: 272.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/5.207, allocations: 0 / 2.831 GB, free: 272.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/5.207, allocations: 40 kB / 2.831 GB, free: 272.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/5.207, allocations: 0 / 2.831 GB, free: 272.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003457/5.207, allocations: 106 kB / 2.832 GB, free: 272.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/5.207, allocations: 51.41 kB / 2.832 GB, free: 272.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/5.207, allocations: 113.1 kB / 2.832 GB, free: 272.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/5.207, allocations: 29.11 kB / 2.832 GB, free: 272.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/5.207, allocations: 102.9 kB / 2.832 GB, free: 272 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/5.207, allocations: 25.95 kB / 2.832 GB, free: 272 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/5.207, allocations: 3.656 kB / 2.832 GB, free: 272 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/5.208, allocations: 324.1 kB / 2.832 GB, free: 271.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/5.208, allocations: 20.53 kB / 2.832 GB, free: 271.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/5.208, allocations: 49.44 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/5.208, allocations: 28.05 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/5.208, allocations: 0 / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001642/5.208, allocations: 99.88 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/5.208, allocations: 7.578 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/5.208, allocations: 6.156 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/5.208, allocations: 0 / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/5.208, allocations: 36.45 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/5.208, allocations: 0 / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/5.208, allocations: 28.67 kB / 2.832 GB, free: 271.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/5.209, allocations: 0 / 2.832 GB, free: 271.6 MB / 0.6355 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 8.69e-05/5.209, allocations: 114.1 kB / 2.832 GB, free: 271.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/5.209, allocations: 6.625 kB / 2.833 GB, free: 271.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/5.209, allocations: 12.5 kB / 2.833 GB, free: 271.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/5.209, allocations: 2.25 kB / 2.833 GB, free: 271.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/5.209, allocations: 3.703 kB / 2.833 GB, free: 271.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/5.209, allocations: 3.875 kB / 2.833 GB, free: 271.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/5.209, allocations: 374.2 kB / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/5.209, allocations: 2.625 kB / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/5.209, allocations: 36.09 kB / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/5.209, allocations: 3.906 kB / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/5.209, allocations: 8.531 kB / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/5.21, allocations: 0 / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.21, allocations: 0 / 2.833 GB, free: 271.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002109/5.21, allocations: 202.8 kB / 2.833 GB, free: 271.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/5.21, allocations: 88.89 kB / 2.833 GB, free: 271 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/5.21, allocations: 0 / 2.833 GB, free: 271 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/5.21, allocations: 21.95 kB / 2.833 GB, free: 271 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/5.21, allocations: 11.78 kB / 2.833 GB, free: 271 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/5.21, allocations: 1.203 kB / 2.833 GB, free: 271 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.097e-05/5.21, allocations: 110.5 kB / 2.833 GB, free: 270.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004265/5.211, allocations: 62.28 kB / 2.833 GB, free: 270.9 MB / 0.6355 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.001081/5.212, allocations: 0.7352 MB / 2.834 GB, free: 270.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001975/5.212, allocations: 76.55 kB / 2.834 GB, free: 270.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/5.212, allocations: 0 / 2.834 GB, free: 270.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/5.212, allocations: 39.39 kB / 2.834 GB, free: 270.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/5.212, allocations: 18.38 kB / 2.834 GB, free: 270.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/5.213, allocations: 163.7 kB / 2.834 GB, free: 270.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/5.213, allocations: 0.7369 MB / 2.835 GB, free: 270 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/5.213, allocations: 3.656 kB / 2.835 GB, free: 270 MB / 0.6355 GB Notification: Performance of Templates: time 0.01063/5.224, allocations: 5.682 MB / 2.841 GB, free: 269.9 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)