Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [: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.001436/0.001436, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4779/0.4779, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.168/1.168, allocations: 221.4 MB / 342.8 MB, free: 5.293 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.0009067/0.0009066, allocations: 86.25 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.194e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 72.3 MB / 0.5529 GB, free: 73.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4315, allocations: 102.1 MB / 0.6527 GB, free: 7.969 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4318, allocations: 79.95 kB / 0.6527 GB, free: 7.891 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01892/0.4507, allocations: 5.872 MB / 0.6585 GB, free: 2.078 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4508, allocations: 4.469 kB / 0.6585 GB, free: 2.074 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.0003961/0.4512, allocations: 367.4 kB / 0.6588 GB, free: 1.672 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4512, allocations: 8.031 kB / 0.6588 GB, free: 1.664 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.4514, allocations: 12.42 kB / 0.6588 GB, free: 1.652 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.4515, allocations: 168.7 kB / 0.659 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4516, allocations: 0 / 0.659 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4516, allocations: 3.984 kB / 0.659 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.904e-05/0.4517, allocations: 14.91 kB / 0.659 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.4518, allocations: 46.19 kB / 0.6591 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4518, allocations: 2.031 kB / 0.6591 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4518, allocations: 0 / 0.6591 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4518, allocations: 0 / 0.6591 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.452, allocations: 142.9 kB / 0.6592 GB, free: 1.207 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.4529, allocations: 123.5 kB / 0.6593 GB, free: 1.078 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.4529, allocations: 20.92 kB / 0.6593 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.4531, allocations: 85.11 kB / 0.6594 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.4531, allocations: 30.56 kB / 0.6594 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.4531, allocations: 0 / 0.6594 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.4533, allocations: 61.67 kB / 0.6595 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.4534, allocations: 51.41 kB / 0.6596 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.4534, allocations: 92.94 kB / 0.6596 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4534, allocations: 29.7 kB / 0.6597 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.4535, allocations: 80.14 kB / 0.6597 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.4535, allocations: 7.812 kB / 0.6598 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.4535, allocations: 0 / 0.6598 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.4536, allocations: 314.8 kB / 0.6601 GB, free: 252 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.4536, allocations: 16.12 kB / 0.6601 GB, free: 236 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.4537, allocations: 4 kB / 0.6601 GB, free: 232 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.4537, allocations: 11.98 kB / 0.6601 GB, free: 220 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4537, allocations: 0 / 0.6601 GB, free: 220 kB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.4538, allocations: 53.62 kB / 0.6601 GB, free: 160 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4539, allocations: 8 kB / 0.6601 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.4539, allocations: 0 / 0.6601 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4539, allocations: 0 / 0.6601 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.454, allocations: 5.188 kB / 0.6602 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.454, allocations: 12.91 kB / 0.6602 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.454, allocations: 4 kB / 0.6602 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.454, allocations: 7.938 kB / 0.6602 GB, free: 124 kB / 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.919e-05/0.4541, allocations: 109.7 kB / 0.6603 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.4541, allocations: 4 kB / 0.6603 GB, free: 8 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.4544, allocations: 81.09 kB / 0.6604 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4544, allocations: 0 / 0.6604 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4544, allocations: 2.062 kB / 0.6604 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4544, allocations: 0 / 0.6604 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.097e-05/0.4545, allocations: 134.2 kB / 0.6605 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4545, allocations: 8.188 kB / 0.6605 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.4546, allocations: 4 kB / 0.6605 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4546, allocations: 7.906 kB / 0.6605 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.4546, allocations: 5.953 kB / 0.6605 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4546, allocations: 0.8594 kB / 0.6605 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4547, allocations: 3.938 kB / 0.6605 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.4548, allocations: 85.11 kB / 0.6606 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.4549, allocations: 85.02 kB / 0.6607 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4549, allocations: 7 kB / 0.6607 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.4549, allocations: 0 / 0.6607 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.455, allocations: 7.984 kB / 0.6607 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.455, allocations: 0 / 0.6607 GB, free: 15.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.513e-05/0.455, allocations: 75.28 kB / 0.6608 GB, free: 15.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.4553, allocations: 55.94 kB / 0.6608 GB, free: 15.38 MB / 490.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 (5): * Single equations (assignments): 5 * 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.0004162/0.4557, allocations: 172.6 kB / 0.661 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.4558, allocations: 31.92 kB / 0.661 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4558, allocations: 0 / 0.661 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.4559, allocations: 16 kB / 0.661 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.456, allocations: 10.09 kB / 0.661 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.4563, allocations: 63.86 kB / 0.6611 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.4565, allocations: 0.6915 MB / 0.6618 GB, free: 14.36 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4565, allocations: 4 kB / 0.6618 GB, free: 14.35 MB / 490.7 MB Notification: Performance of Templates: time 0.00338/0.4599, allocations: 1.066 MB / 0.6628 GB, free: 13.32 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)