Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_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.001508/0.001508, allocations: 184.1 kB / 7.803 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.442/0.442, allocations: 90.85 MB / 99.08 MB, free: 14.92 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.212/1.212, allocations: 221.4 MB / 342.8 MB, free: 5.117 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.0008628/0.0008629, allocations: 103.9 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.852e-06/6.953e-06, allocations: 0 / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3318, allocations: 72.3 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.4721, allocations: 127.9 MB / 0.6778 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4725, allocations: 71.95 kB / 0.6779 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005598/0.4781, allocations: 1.893 MB / 0.6797 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4781, allocations: 0 / 0.6797 GB, free: 12.14 MB / 0.4948 GB 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.0004904/0.4786, allocations: 378.2 kB / 0.6801 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4787, allocations: 8.594 kB / 0.6801 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.4787, allocations: 7.906 kB / 0.6801 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.4789, allocations: 167.5 kB / 0.6802 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.4789, allocations: 1.188 kB / 0.6802 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4789, allocations: 11.89 kB / 0.6803 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.479, allocations: 22.44 kB / 0.6803 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.4791, allocations: 44.58 kB / 0.6803 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4792, allocations: 5.797 kB / 0.6803 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4792, allocations: 3.938 kB / 0.6803 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4792, allocations: 4.531 kB / 0.6803 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.4797, allocations: 258.6 kB / 0.6806 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.4798, allocations: 30.58 kB / 0.6806 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.4798, allocations: 20.94 kB / 0.6806 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.48, allocations: 85.11 kB / 0.6807 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.48, allocations: 34.55 kB / 0.6807 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4801, allocations: 0 / 0.6807 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002239/0.4803, allocations: 57.59 kB / 0.6808 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4803, allocations: 59.34 kB / 0.6809 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.4804, allocations: 97 kB / 0.681 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.4804, allocations: 25.7 kB / 0.681 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.4805, allocations: 95.97 kB / 0.6811 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.4805, allocations: 6.906 kB / 0.6811 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4805, allocations: 0 / 0.6811 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4806, allocations: 318.8 kB / 0.6814 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.4807, allocations: 12 kB / 0.6814 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.4807, allocations: 8 kB / 0.6814 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.4808, allocations: 11.98 kB / 0.6814 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4808, allocations: 0 / 0.6814 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001157/0.4809, allocations: 57.59 kB / 0.6815 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4809, allocations: 4 kB / 0.6815 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4809, allocations: 0 / 0.6815 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4809, allocations: 0 / 0.6815 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4811, allocations: 31.91 kB / 0.6815 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4811, allocations: 4 kB / 0.6815 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.4812, allocations: 19.98 kB / 0.6815 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4812, allocations: 0 / 0.6815 GB, free: 10.09 MB / 0.4948 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 (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 7.43e-05/0.4813, allocations: 104.9 kB / 0.6816 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.4813, allocations: 4 kB / 0.6816 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.4815, allocations: 65.58 kB / 0.6817 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4815, allocations: 0 / 0.6817 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4815, allocations: 0 / 0.6817 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4815, allocations: 1.688 kB / 0.6817 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4817, allocations: 150.2 kB / 0.6818 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4817, allocations: 7.938 kB / 0.6818 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4818, allocations: 19.98 kB / 0.6819 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4818, allocations: 4 kB / 0.6819 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4819, allocations: 0 / 0.6819 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.4819, allocations: 7.844 kB / 0.6819 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4819, allocations: 4 kB / 0.6819 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001607/0.482, allocations: 151.7 kB / 0.682 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.4821, allocations: 85.14 kB / 0.6821 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.4821, allocations: 0 / 0.6821 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4822, allocations: 21.36 kB / 0.6821 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.4823, allocations: 15.27 kB / 0.6821 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4823, allocations: 0 / 0.6821 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.791e-05/0.4824, allocations: 87.19 kB / 0.6822 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000224/0.4826, allocations: 15.94 kB / 0.6822 GB, free: 9.273 MB / 0.4948 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 (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.0002413/0.4829, allocations: 144.9 kB / 0.6824 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.483, allocations: 31.92 kB / 0.6824 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.483, allocations: 4 kB / 0.6824 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.483, allocations: 12 kB / 0.6824 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.4832, allocations: 6.031 kB / 0.6824 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.4835, allocations: 75.62 kB / 0.6825 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.484, allocations: 0.6993 MB / 0.6832 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.484, allocations: 0 / 0.6832 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of Templates: time 0.003139/0.4872, allocations: 1.035 MB / 0.6842 GB, free: 7.266 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)