Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 253.1 MB / 260.4 MB, free: 7.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 185.2 kB / 319.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 95.31 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.907e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 106.3 MB / 0.888 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6237/0.8377, allocations: 133.7 MB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.838, allocations: 77.14 kB / 1.019 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01296/0.851, allocations: 2.217 MB / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.8511, allocations: 0 / 1.021 GB, free: 2.727 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007292/0.8518, allocations: 403.8 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.8519, allocations: 8.031 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.8519, allocations: 7.906 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.8521, allocations: 178.9 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.8521, allocations: 3.906 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.8521, allocations: 4 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000123/0.8523, allocations: 18.94 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.8524, allocations: 48.88 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8524, allocations: 0 / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8524, allocations: 0 / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8525, allocations: 4 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.8529, allocations: 255.4 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.853, allocations: 37.12 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.8531, allocations: 16.36 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.8534, allocations: 89.19 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.8534, allocations: 37.09 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.8534, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005646/0.854, allocations: 83.58 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.854, allocations: 55.41 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.8541, allocations: 96.94 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.8542, allocations: 25.7 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.8542, allocations: 95.78 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.8543, allocations: 7.844 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.8543, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8544, allocations: 318 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.8545, allocations: 11 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/0.8545, allocations: 7.188 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.8549, allocations: 37.95 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8549, allocations: 0 / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004213/0.8553, allocations: 83.3 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8553, allocations: 4 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8554, allocations: 3.938 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.8554, allocations: 4 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.8556, allocations: 27.67 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.8557, allocations: 0 / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.8558, allocations: 16.36 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.8559, allocations: 11.89 kB / 1.023 GB, free: 0.6445 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 (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 0.0001378/0.856, allocations: 107.4 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.8561, allocations: 3.938 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.8566, allocations: 98.16 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8566, allocations: 0 / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8566, allocations: 0 / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8566, allocations: 0 / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.8568, allocations: 148.7 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8568, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.857, allocations: 31.92 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8571, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.8571, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8571, allocations: 3.906 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8571, allocations: 0 / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004747/0.8576, allocations: 177.8 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.8577, allocations: 85.09 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.8577, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.8579, allocations: 19.98 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.858, allocations: 7.062 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.858, allocations: 7.891 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.676e-05/0.8581, allocations: 82.72 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003943/0.8585, allocations: 31.94 kB / 1.023 GB, free: 15.8 MB / 0.6511 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.0003061/0.8588, allocations: 143.2 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.859, allocations: 23.16 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.859, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.8591, allocations: 15 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.8593, allocations: 4.188 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.8597, allocations: 83.11 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.86, allocations: 0.7019 MB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/0.86, allocations: 8 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.004974/0.865, allocations: 1.177 MB / 1.026 GB, free: 13.63 MB / 0.6511 GB