Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [: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.156/2.156, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.001672/0.001672, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.857/1.857, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001367/0.001367, allocations: 87.62 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.112e-05/1.13e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.801/6.015, allocations: 2.175 GB / 3.063 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/6.015, allocations: 93.61 kB / 3.063 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1283/6.144, allocations: 40 MB / 3.102 GB, free: 155 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.435e-05/6.144, allocations: 4 kB / 3.102 GB, free: 155 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006669/6.144, allocations: 451.5 kB / 3.102 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/6.144, allocations: 8.031 kB / 3.102 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/6.145, allocations: 43.53 kB / 3.103 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/6.145, allocations: 213.7 kB / 3.103 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/6.145, allocations: 4 kB / 3.103 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/6.145, allocations: 8 kB / 3.103 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002141/6.145, allocations: 53.31 kB / 3.103 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/6.146, allocations: 95.67 kB / 3.103 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/6.146, allocations: 0 / 3.103 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/6.146, allocations: 0 / 3.103 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/6.146, allocations: 4 kB / 3.103 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/6.146, allocations: 419.8 kB / 3.103 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/6.147, allocations: 71.56 kB / 3.103 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/6.147, allocations: 23.61 kB / 3.103 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/6.147, allocations: 4.141 kB / 3.103 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/6.147, allocations: 34.31 kB / 3.103 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/6.147, allocations: 0 / 3.103 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000287/6.147, allocations: 88.05 kB / 3.103 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/6.147, allocations: 55.41 kB / 3.104 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/6.147, allocations: 134.9 kB / 3.104 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/6.147, allocations: 25.7 kB / 3.104 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/6.147, allocations: 114.9 kB / 3.104 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/6.147, allocations: 19.66 kB / 3.104 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/6.147, allocations: 0 / 3.104 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/6.148, allocations: 325.7 kB / 3.104 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/6.148, allocations: 23.19 kB / 3.104 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/6.148, allocations: 19 kB / 3.104 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/6.148, allocations: 29.92 kB / 3.104 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/6.148, allocations: 0 / 3.104 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001999/6.148, allocations: 79.97 kB / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/6.148, allocations: 4 kB / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/6.148, allocations: 4 kB / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/6.148, allocations: 0 / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/6.148, allocations: 27.73 kB / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/6.148, allocations: 4 kB / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/6.149, allocations: 15.89 kB / 3.104 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/6.149, allocations: 4 kB / 3.104 GB, free: 152.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 6.386e-05/6.149, allocations: 105 kB / 3.104 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/6.149, allocations: 7.906 kB / 3.104 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/6.149, allocations: 93.08 kB / 3.105 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/6.149, allocations: 7.906 kB / 3.105 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/6.149, allocations: 0 / 3.105 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/6.149, allocations: 0 / 3.105 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/6.149, allocations: 190.7 kB / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/6.149, allocations: 3.938 kB / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/6.15, allocations: 20.48 kB / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/6.15, allocations: 0 / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/6.15, allocations: 3.984 kB / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/6.15, allocations: 7.906 kB / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.15, allocations: 4 kB / 3.105 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002229/6.15, allocations: 169.4 kB / 3.105 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/6.15, allocations: 85.7 kB / 3.105 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/6.15, allocations: 3.906 kB / 3.105 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/6.15, allocations: 16.55 kB / 3.105 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/6.15, allocations: 8.547 kB / 3.105 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/6.15, allocations: 0.625 kB / 3.105 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000106/6.15, allocations: 114.8 kB / 3.105 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004487/6.151, allocations: 54.95 kB / 3.105 GB, free: 151.8 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 (7): * Single equations (assignments): 7 * 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.0008566/6.152, allocations: 0.6537 MB / 3.106 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002219/6.152, allocations: 48.38 kB / 3.106 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/6.152, allocations: 4 kB / 3.106 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/6.152, allocations: 28.5 kB / 3.106 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/6.152, allocations: 28.78 kB / 3.106 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/6.153, allocations: 149.5 kB / 3.106 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/6.153, allocations: 0.7283 MB / 3.107 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/6.153, allocations: 3.938 kB / 3.107 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.01258/6.166, allocations: 4.594 MB / 3.111 GB, free: 145.6 MB / 0.8698 GB