Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.324/1.324, allocations: 289.8 MB / 297.1 MB, free: 6.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009709/0.0009709, allocations: 185.3 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 205.1 MB / 0.6256 GB, free: 7.426 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007483/0.0007482, allocations: 87.55 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.372e-06, allocations: 0 / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4447, allocations: 116.3 MB / 0.9726 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.591/3.036, allocations: 2.074 GB / 3.046 GB, free: 30.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/3.036, allocations: 78.05 kB / 3.046 GB, free: 30.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4023/3.438, allocations: 78.65 MB / 3.123 GB, free: 320.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.131e-05/3.438, allocations: 6.906 kB / 3.123 GB, free: 320.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006632/3.439, allocations: 493.4 kB / 3.124 GB, free: 320.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/3.439, allocations: 10.75 kB / 3.124 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008028/3.44, allocations: 91.52 kB / 3.124 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/3.44, allocations: 224.5 kB / 3.124 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/3.44, allocations: 9.125 kB / 3.124 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/3.44, allocations: 15.16 kB / 3.124 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002496/3.44, allocations: 132.5 kB / 3.124 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/3.441, allocations: 214.3 kB / 3.124 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/3.441, allocations: 3.938 kB / 3.124 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/3.441, allocations: 2.812 kB / 3.124 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/3.441, allocations: 3.031 kB / 3.124 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/3.442, allocations: 0.9645 MB / 3.125 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/3.442, allocations: 138.2 kB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/3.442, allocations: 54.77 kB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/3.442, allocations: 2.719 kB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/3.442, allocations: 34.56 kB / 3.125 GB, free: 318.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/3.442, allocations: 0 / 3.125 GB, free: 318.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002934/3.443, allocations: 139.8 kB / 3.126 GB, free: 318.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/3.443, allocations: 55.34 kB / 3.126 GB, free: 318.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/3.443, allocations: 155.2 kB / 3.126 GB, free: 318.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/3.443, allocations: 25.7 kB / 3.126 GB, free: 318.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/3.443, allocations: 134.6 kB / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/3.443, allocations: 35.95 kB / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/3.443, allocations: 0 / 3.126 GB, free: 318.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/3.443, allocations: 325 kB / 3.126 GB, free: 318 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/3.443, allocations: 49.03 kB / 3.126 GB, free: 318 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/3.443, allocations: 111 kB / 3.126 GB, free: 317.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/3.443, allocations: 63.64 kB / 3.126 GB, free: 317.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/3.443, allocations: 7 kB / 3.126 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003082/3.444, allocations: 191.5 kB / 3.127 GB, free: 317.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/3.444, allocations: 5.531 kB / 3.127 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/3.444, allocations: 2.688 kB / 3.127 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/3.444, allocations: 0 / 3.127 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/3.444, allocations: 55.31 kB / 3.127 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/3.444, allocations: 6.203 kB / 3.127 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/3.444, allocations: 35.8 kB / 3.127 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/3.444, allocations: 18.53 kB / 3.127 GB, free: 317.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.767e-05/3.444, allocations: 108.4 kB / 3.127 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/3.444, allocations: 15.34 kB / 3.127 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/3.445, allocations: 237.6 kB / 3.127 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/3.445, allocations: 2.75 kB / 3.127 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/3.445, allocations: 0 / 3.127 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/3.445, allocations: 3.906 kB / 3.127 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/3.445, allocations: 250.9 kB / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/3.445, allocations: 0 / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/3.445, allocations: 65.84 kB / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/3.445, allocations: 0 / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/3.446, allocations: 6.047 kB / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/3.446, allocations: 0 / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/3.446, allocations: 0 / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002848/3.446, allocations: 304.6 kB / 3.128 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/3.446, allocations: 94.2 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/3.446, allocations: 0 / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/3.446, allocations: 14.69 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/3.446, allocations: 16.25 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/3.446, allocations: 8.484 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.372e-05/3.446, allocations: 121 kB / 3.128 GB, free: 316.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003722/3.447, allocations: 98.3 kB / 3.128 GB, free: 316.8 MB / 0.948 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 (23): * Single equations (assignments): 23 * 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.0006657/3.447, allocations: 0.7857 MB / 3.129 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00025/3.448, allocations: 153.8 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/3.448, allocations: 0 / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/3.448, allocations: 92.62 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/3.448, allocations: 29.16 kB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/3.448, allocations: 255.5 kB / 3.129 GB, free: 316.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/3.449, allocations: 0.7668 MB / 3.13 GB, free: 315.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/3.449, allocations: 4 kB / 3.13 GB, free: 315.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01049/3.459, allocations: 7.319 MB / 3.137 GB, free: 314.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1)