Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [: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.392/2.392, 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.002265/0.002265, allocations: 189.2 kB / 319.6 MB, free: 3.312 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.826/1.826, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001244/0.001244, allocations: 91.09 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.909e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.526/5.729, allocations: 2.188 GB / 3.076 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004273/5.729, allocations: 87.12 kB / 3.076 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2287/5.958, allocations: 65.34 MB / 3.14 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.35e-05/5.958, allocations: 4 kB / 3.14 GB, free: 116.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007047/5.959, allocations: 442.3 kB / 3.14 GB, free: 116 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/5.959, allocations: 8.031 kB / 3.14 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/5.96, allocations: 83.69 kB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/5.961, allocations: 210.8 kB / 3.141 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/5.961, allocations: 8 kB / 3.141 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/5.961, allocations: 7.984 kB / 3.141 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002752/5.961, allocations: 67.98 kB / 3.141 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/5.961, allocations: 97.52 kB / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/5.961, allocations: 0 / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/5.961, allocations: 0 / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/5.961, allocations: 0 / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/5.962, allocations: 377 kB / 3.141 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/5.963, allocations: 195.8 kB / 3.141 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/5.963, allocations: 52.84 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/5.963, allocations: 160 / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/5.963, allocations: 34.5 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/5.963, allocations: 4 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0003451/5.963, allocations: 97.47 kB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/5.963, allocations: 59.34 kB / 3.142 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/5.964, allocations: 119.2 kB / 3.142 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/5.964, allocations: 25.7 kB / 3.142 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/5.964, allocations: 104.1 kB / 3.142 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/5.964, allocations: 19.66 kB / 3.142 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/5.964, allocations: 0 / 3.142 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.646e-05/5.964, allocations: 322.8 kB / 3.142 GB, free: 114 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/5.964, allocations: 27.98 kB / 3.142 GB, free: 114 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/5.964, allocations: 42.52 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/5.964, allocations: 35.97 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/5.964, allocations: 4.031 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002604/5.964, allocations: 101.4 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/5.964, allocations: 6.5 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/5.964, allocations: 0 / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/5.964, allocations: 4 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/5.965, allocations: 35.97 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/5.965, allocations: 0 / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/5.965, allocations: 27.97 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/5.965, allocations: 0 / 3.142 GB, free: 113.7 MB / 0.8698 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 (8): * Single equations (assignments): 8 * 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.142e-05/5.965, allocations: 116.9 kB / 3.142 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/5.965, allocations: 7.906 kB / 3.142 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/5.965, allocations: 12.48 kB / 3.142 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/5.965, allocations: 4 kB / 3.142 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/5.965, allocations: 0 / 3.142 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/5.965, allocations: 7.938 kB / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/5.966, allocations: 375 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/5.966, allocations: 0 / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/5.967, allocations: 35.97 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/5.967, allocations: 3.906 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/5.967, allocations: 4 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/5.967, allocations: 0 / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/5.967, allocations: 0 / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002718/5.967, allocations: 203.3 kB / 3.143 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/5.967, allocations: 92.86 kB / 3.143 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/5.967, allocations: 0 / 3.143 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/5.967, allocations: 31.91 kB / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/5.967, allocations: 3.984 kB / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/5.967, allocations: 4 kB / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.263e-05/5.967, allocations: 103.3 kB / 3.143 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005048/5.968, allocations: 63.98 kB / 3.143 GB, free: 112.6 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 (8): * Single equations (assignments): 8 * 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.001019/5.969, allocations: 0.7487 MB / 3.144 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002629/5.969, allocations: 71.91 kB / 3.144 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/5.969, allocations: 0 / 3.144 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/5.969, allocations: 35.98 kB / 3.144 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/5.97, allocations: 27.59 kB / 3.144 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/5.971, allocations: 155.2 kB / 3.144 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/5.971, allocations: 0.7231 MB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of SimCode: time 7.22e-07/5.971, allocations: 0 / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01415/5.985, allocations: 5.599 MB / 3.151 GB, free: 105.2 MB / 0.8698 GB