Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.0009886/0.0009885, allocations: 183.1 kB / 7.802 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4377/0.4377, allocations: 90.86 MB / 99.08 MB, free: 14.94 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.148/1.148, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.00085/0.00085, allocations: 93.17 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.019e-05, allocations: 4 kB / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2937, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3966, allocations: 102.4 MB / 0.6529 GB, free: 7.641 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3969, allocations: 84.56 kB / 0.653 GB, free: 7.559 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.008098/0.405, allocations: 2.393 MB / 0.6553 GB, free: 5.219 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.405, allocations: 0 / 0.6553 GB, free: 5.219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002947/0.4053, allocations: 366.1 kB / 0.6557 GB, free: 4.816 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4053, allocations: 12.03 kB / 0.6557 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.4054, allocations: 0 / 0.6557 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4055, allocations: 163.1 kB / 0.6558 GB, free: 4.605 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.4056, allocations: 30.19 kB / 0.6559 GB, free: 4.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.4056, allocations: 8.438 kB / 0.6559 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.184e-05/0.4057, allocations: 8 kB / 0.6559 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.805e-05/0.4058, allocations: 43.22 kB / 0.6559 GB, free: 4.508 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4058, allocations: 3.938 kB / 0.6559 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4058, allocations: 3.984 kB / 0.6559 GB, free: 4.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4058, allocations: 0.5938 kB / 0.6559 GB, free: 4.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.4059, allocations: 128.4 kB / 0.6561 GB, free: 4.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.4061, allocations: 43.95 kB / 0.6561 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.4061, allocations: 16.86 kB / 0.6561 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.4064, allocations: 184.2 kB / 0.6563 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4064, allocations: 31.22 kB / 0.6563 GB, free: 4.016 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4064, allocations: 0.625 kB / 0.6563 GB, free: 4.016 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.000475/0.4069, allocations: 102.2 kB / 0.6564 GB, free: 3.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.407, allocations: 56.22 kB / 0.6565 GB, free: 3.844 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.407, allocations: 93 kB / 0.6566 GB, free: 3.746 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.407, allocations: 29.2 kB / 0.6566 GB, free: 3.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.4071, allocations: 80.8 kB / 0.6567 GB, free: 3.633 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4071, allocations: 20.23 kB / 0.6567 GB, free: 3.613 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.4071, allocations: 0 / 0.6567 GB, free: 3.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.4072, allocations: 314.8 kB / 0.657 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.4072, allocations: 8 kB / 0.657 GB, free: 3.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.4072, allocations: 4 kB / 0.657 GB, free: 3.285 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.4076, allocations: 63.89 kB / 0.6571 GB, free: 3.223 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4076, allocations: 0 / 0.6571 GB, free: 3.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003776/0.408, allocations: 101.5 kB / 0.6572 GB, free: 3.117 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.408, allocations: 7.984 kB / 0.6572 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.408, allocations: 0 / 0.6572 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.408, allocations: 4 kB / 0.6572 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.4081, allocations: 8 kB / 0.6572 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4081, allocations: 7.875 kB / 0.6572 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.4081, allocations: 0 / 0.6572 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4082, allocations: 4 kB / 0.6572 GB, free: 3.086 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 (4): * Single equations (assignments): 4 * 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 6.146e-05/0.4082, allocations: 101 kB / 0.6573 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.4082, allocations: 3.906 kB / 0.6573 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.4087, allocations: 124.1 kB / 0.6574 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4087, allocations: 0 / 0.6574 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4087, allocations: 0 / 0.6574 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4087, allocations: 0 / 0.6574 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.606e-05/0.4088, allocations: 140 kB / 0.6575 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4088, allocations: 0 / 0.6575 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.4089, allocations: 11.98 kB / 0.6576 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4089, allocations: 0 / 0.6576 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.4089, allocations: 0 / 0.6576 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4089, allocations: 0 / 0.6576 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4089, allocations: 4.359 kB / 0.6576 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004008/0.4093, allocations: 136.9 kB / 0.6577 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.4094, allocations: 85.09 kB / 0.6578 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.4094, allocations: 1.781 kB / 0.6578 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.246e-05/0.4095, allocations: 4 kB / 0.6578 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.4095, allocations: 3.906 kB / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.4095, allocations: 0.9375 kB / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.234e-05/0.4096, allocations: 87.27 kB / 0.6579 GB, free: 2.312 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000222/0.4098, allocations: 39.94 kB / 0.6579 GB, free: 2.273 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 (4): * Single equations (assignments): 4 * 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.0002172/0.41, allocations: 143.1 kB / 0.658 GB, free: 2.121 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.4101, allocations: 19.94 kB / 0.6581 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4101, allocations: 0 / 0.6581 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.4101, allocations: 12 kB / 0.6581 GB, free: 2.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.4103, allocations: 7.984 kB / 0.6581 GB, free: 2.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.4105, allocations: 63.78 kB / 0.6581 GB, free: 1.996 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.4107, allocations: 0.6876 MB / 0.6588 GB, free: 1.285 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4107, allocations: 3.938 kB / 0.6588 GB, free: 1.281 MB / 474.7 MB Notification: Performance of Templates: time 0.002896/0.4136, allocations: 1.045 MB / 0.6598 GB, free: 280 kB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)