Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [: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.135/2.135, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001705/0.001705, allocations: 189.2 kB / 319.6 MB, free: 3.336 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.812/1.812, allocations: 205.4 MB / 0.5704 GB, free: 15 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.00134/0.001339, allocations: 97.69 kB / 0.6746 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.133e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1928, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6034/0.7962, allocations: 132.5 MB / 1.017 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.7966, allocations: 67.84 kB / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01099/0.8076, allocations: 2.052 MB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.8077, allocations: 4 kB / 1.019 GB, free: 4.188 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005554/0.8082, allocations: 361.7 kB / 1.02 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8083, allocations: 12.03 kB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.8083, allocations: 3.906 kB / 1.02 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8085, allocations: 171 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.8086, allocations: 33.61 kB / 1.02 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.8086, allocations: 4 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.8087, allocations: 26.67 kB / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.8089, allocations: 51.81 kB / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8089, allocations: 0 / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.8089, allocations: 0 / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.8089, allocations: 4.875 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.8096, allocations: 282.6 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.8097, allocations: 37.02 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.8098, allocations: 16.11 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.8098, allocations: 7.984 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.8099, allocations: 38.56 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.8099, allocations: 0 / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002044/0.8101, allocations: 56.22 kB / 1.021 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.8101, allocations: 51.41 kB / 1.021 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.8102, allocations: 97.06 kB / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.8103, allocations: 25.7 kB / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.8103, allocations: 91.22 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.8104, allocations: 15.75 kB / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.8104, allocations: 0 / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8105, allocations: 322 kB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.8106, allocations: 7.062 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.8106, allocations: 29.53 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.8107, allocations: 7.938 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8107, allocations: 4 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001427/0.8109, allocations: 56.34 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8109, allocations: 4 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8109, allocations: 4.5 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8109, allocations: 0 / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.8111, allocations: 23.95 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.8111, allocations: 320 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.8113, allocations: 12.11 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.8113, allocations: 4 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001278/0.8114, allocations: 107.6 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.8115, allocations: 7.906 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.8115, allocations: 11.94 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8115, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8115, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8115, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.8118, allocations: 153.3 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.8118, allocations: 0 / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.8119, allocations: 15.98 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8119, allocations: 4 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.812, allocations: 0 / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.812, allocations: 3.984 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.812, allocations: 7.938 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001751/0.8122, allocations: 149.8 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.8122, allocations: 84.52 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.8123, allocations: 0 / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.8125, allocations: 19.98 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.8126, allocations: 7.984 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.8126, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.055e-05/0.8127, allocations: 82.78 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003069/0.813, allocations: 11.94 kB / 1.022 GB, free: 1.523 MB / 0.6355 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 (4): * Single equations (assignments): 4 * 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.0001364/0.8131, allocations: 99.25 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.8133, allocations: 27.3 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8133, allocations: 0 / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.8133, allocations: 14.75 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.8136, allocations: 11.84 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.8139, allocations: 86.44 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.8142, allocations: 0.7023 MB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.8143, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of Templates: time 0.003592/0.8179, allocations: 0.7462 MB / 1.024 GB, free: 15.81 MB / 0.6511 GB