Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.001652/0.001652, allocations: 181.3 kB / 319.6 MB, free: 3.328 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.827/1.827, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001314/0.001313, allocations: 103 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.083e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2101, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.527/5.737, allocations: 2.192 GB / 3.08 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004403/5.737, allocations: 84.33 kB / 3.08 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3086/6.046, allocations: 87.37 MB / 3.166 GB, free: 35.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.776e-05/6.046, allocations: 4 kB / 3.166 GB, free: 35.52 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001116/6.047, allocations: 0.5022 MB / 3.166 GB, free: 34.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/6.047, allocations: 8.031 kB / 3.166 GB, free: 34.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/6.049, allocations: 87.7 kB / 3.166 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/6.049, allocations: 222.7 kB / 3.166 GB, free: 34.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/6.049, allocations: 42.02 kB / 3.166 GB, free: 34.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/6.049, allocations: 8 kB / 3.166 GB, free: 34.56 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003839/6.05, allocations: 112.6 kB / 3.167 GB, free: 34.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/6.05, allocations: 214.3 kB / 3.167 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/6.05, allocations: 0 / 3.167 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/6.05, allocations: 4 kB / 3.167 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/6.05, allocations: 4 kB / 3.167 GB, free: 34.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/6.052, allocations: 1.138 MB / 3.168 GB, free: 33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/6.054, allocations: 195.6 kB / 3.168 GB, free: 32.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/6.054, allocations: 52.84 kB / 3.168 GB, free: 32.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/6.054, allocations: 0 / 3.168 GB, free: 32.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/6.054, allocations: 38.56 kB / 3.168 GB, free: 32.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/6.054, allocations: 4 kB / 3.168 GB, free: 32.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.002315/6.056, allocations: 259.2 kB / 3.168 GB, free: 32.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/6.056, allocations: 59.34 kB / 3.168 GB, free: 32.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/6.057, allocations: 149.2 kB / 3.169 GB, free: 32.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/6.057, allocations: 25.7 kB / 3.169 GB, free: 32.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/6.057, allocations: 139.9 kB / 3.169 GB, free: 32.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/6.057, allocations: 35.41 kB / 3.169 GB, free: 32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/6.057, allocations: 0 / 3.169 GB, free: 32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/6.057, allocations: 322.8 kB / 3.169 GB, free: 31.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/6.057, allocations: 56.3 kB / 3.169 GB, free: 31.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/6.057, allocations: 113.1 kB / 3.169 GB, free: 31.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/6.058, allocations: 63.91 kB / 3.169 GB, free: 31.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/6.058, allocations: 0 / 3.169 GB, free: 31.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002284/6.06, allocations: 322.8 kB / 3.17 GB, free: 31.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/6.06, allocations: 10.5 kB / 3.17 GB, free: 31.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/6.06, allocations: 0 / 3.17 GB, free: 31.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/6.062, allocations: 165.8 kB / 3.17 GB, free: 30.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/6.063, allocations: 47.89 kB / 3.17 GB, free: 30.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/6.068, allocations: 2.898 MB / 3.173 GB, free: 27.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/6.069, allocations: 31.94 kB / 3.173 GB, free: 27.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/6.069, allocations: 15.98 kB / 3.173 GB, free: 27.67 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001249/6.069, allocations: 116.8 kB / 3.173 GB, free: 27.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/6.069, allocations: 7.906 kB / 3.173 GB, free: 27.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/6.071, allocations: 335.4 kB / 3.173 GB, free: 27.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/6.071, allocations: 4 kB / 3.173 GB, free: 27.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/6.071, allocations: 0 / 3.173 GB, free: 27.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/6.071, allocations: 3.984 kB / 3.173 GB, free: 27.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/6.071, allocations: 230 kB / 3.173 GB, free: 26.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/6.071, allocations: 4 kB / 3.173 GB, free: 26.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/6.072, allocations: 19.98 kB / 3.173 GB, free: 26.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/6.074, allocations: 169.6 kB / 3.174 GB, free: 26.74 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/6.074, allocations: 8 kB / 3.174 GB, free: 26.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/6.079, allocations: 2.949 MB / 3.176 GB, free: 23.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/6.079, allocations: 3.938 kB / 3.176 GB, free: 23.54 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001971/6.081, allocations: 384.9 kB / 3.177 GB, free: 23.14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/6.081, allocations: 104.9 kB / 3.177 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/6.081, allocations: 3.984 kB / 3.177 GB, free: 23.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/6.081, allocations: 19.98 kB / 3.177 GB, free: 22.99 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/6.081, allocations: 15.89 kB / 3.177 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/6.082, allocations: 4 kB / 3.177 GB, free: 22.97 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001092/6.082, allocations: 111.3 kB / 3.177 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007422/6.082, allocations: 107.9 kB / 3.177 GB, free: 22.76 MB / 0.8698 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/6.084, allocations: 0.8331 MB / 3.178 GB, free: 21.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001296/6.085, allocations: 374.3 kB / 3.178 GB, free: 21.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/6.085, allocations: 4 kB / 3.178 GB, free: 21.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008853/6.086, allocations: 307.5 kB / 3.179 GB, free: 21.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/6.086, allocations: 47.94 kB / 3.179 GB, free: 21.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/6.088, allocations: 314.8 kB / 3.179 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/6.088, allocations: 0.753 MB / 3.18 GB, free: 20.05 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/6.088, allocations: 4 kB / 3.18 GB, free: 20.05 MB / 0.8698 GB Notification: Performance of Templates: time 0.02189/6.11, allocations: 8.897 MB / 3.188 GB, free: 11.18 MB / 0.8698 GB