Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") [: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.066/2.066, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001671/0.001671, allocations: 177.3 kB / 319.6 MB, free: 3.309 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.864/1.864, 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.001353/0.001353, allocations: 91.31 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.042e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2262, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6668/0.893, allocations: 134.1 MB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.8934, allocations: 86.62 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01195/0.9054, allocations: 2.236 MB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.9055, allocations: 8 kB / 1.021 GB, free: 2.32 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009388/0.9064, allocations: 432.6 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.9065, allocations: 12.03 kB / 1.022 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.9066, allocations: 15.8 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.9068, allocations: 179.1 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.9068, allocations: 3.906 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.9068, allocations: 12 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002497/0.9071, allocations: 56.94 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.9073, allocations: 76.05 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.9074, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.9074, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.9074, allocations: 4 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.9083, allocations: 360.1 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.9086, allocations: 79.64 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.9087, allocations: 34.48 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/0.9094, allocations: 0.5613 MB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.9095, allocations: 33.19 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.727e-06/0.9095, allocations: 1.125 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004045/0.9099, allocations: 86.47 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.9099, allocations: 55.41 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.9101, allocations: 122.4 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.9101, allocations: 25.7 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.9102, allocations: 103.4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.9103, allocations: 31.27 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.9103, allocations: 3.938 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9104, allocations: 318 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.9105, allocations: 22.19 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.9106, allocations: 22.8 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.9107, allocations: 20.5 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.9108, allocations: 3.906 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002621/0.911, allocations: 85.59 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.9111, allocations: 12 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9111, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.9111, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.9115, allocations: 35.91 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9115, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.9117, allocations: 19.98 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.9118, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 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 (9): * Single equations (assignments): 9 * 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 9.966e-05/0.9119, allocations: 104.9 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.9119, allocations: 7.906 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.9123, allocations: 113.2 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9123, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9124, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.9124, allocations: 3.984 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.9127, allocations: 186 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9127, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.913, allocations: 31.98 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.913, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.9131, allocations: 3.938 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9131, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9131, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003342/0.9134, allocations: 195.1 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.9135, allocations: 96.38 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.9136, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.9139, allocations: 19.98 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.9139, allocations: 11.48 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.914, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.703e-05/0.914, allocations: 86.78 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003803/0.9144, allocations: 27.91 kB / 1.025 GB, free: 14.5 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 (9): * Single equations (assignments): 9 * 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.0002589/0.9147, allocations: 123.1 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.9149, allocations: 52.94 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.915, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.9151, allocations: 35.06 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.9155, allocations: 17.36 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.9161, allocations: 130 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.9166, allocations: 0.7274 MB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/0.9166, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.005813/0.9225, allocations: 1.265 MB / 1.027 GB, free: 12.16 MB / 0.6511 GB