Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") [: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.036/2.036, allocations: 253.1 MB / 260.4 MB, free: 7.441 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.001649/0.001649, allocations: 196.9 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.828/1.828, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001339/0.001339, allocations: 94 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.095e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.619/5.83, allocations: 2.193 GB / 3.081 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/5.83, allocations: 79.39 kB / 3.081 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.976/7.806, allocations: 457.9 MB / 3.528 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001012/7.806, allocations: 20.19 kB / 3.528 GB, free: 58.45 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00318/7.809, allocations: 1.165 MB / 3.529 GB, free: 57.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/7.81, allocations: 8.031 kB / 3.529 GB, free: 57.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/7.813, allocations: 338.3 kB / 3.53 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/7.816, allocations: 0.7818 MB / 3.53 GB, free: 56.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/7.816, allocations: 23.91 kB / 3.53 GB, free: 56.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/7.816, allocations: 40 kB / 3.531 GB, free: 56.01 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001641/7.817, allocations: 0.5428 MB / 3.531 GB, free: 55.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/7.819, allocations: 0.6865 MB / 3.532 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/7.819, allocations: 0 / 3.532 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/7.819, allocations: 0 / 3.532 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/7.819, allocations: 25.31 kB / 3.532 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006176/7.826, allocations: 3.335 MB / 3.535 GB, free: 51.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/7.827, allocations: 481 kB / 3.535 GB, free: 50.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/7.828, allocations: 230.5 kB / 3.536 GB, free: 50.43 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/7.828, allocations: 0.6809 MB / 3.536 GB, free: 49.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/7.828, allocations: 42.98 kB / 3.536 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=51): time 3.868e-06/7.828, allocations: 0 / 3.536 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=51): time 0.002177/7.831, allocations: 0.5216 MB / 3.537 GB, free: 49.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/7.831, allocations: 55.84 kB / 3.537 GB, free: 48.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/7.832, allocations: 467.6 kB / 3.537 GB, free: 48.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/7.832, allocations: 29.7 kB / 3.537 GB, free: 48.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/7.832, allocations: 284.1 kB / 3.538 GB, free: 48.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/7.832, allocations: 181.2 kB / 3.538 GB, free: 47.99 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/7.832, allocations: 0 / 3.538 GB, free: 47.99 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001322/7.832, allocations: 378.8 kB / 3.538 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/7.833, allocations: 172.9 kB / 3.538 GB, free: 47.44 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/7.833, allocations: 256.2 kB / 3.539 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/7.834, allocations: 213.3 kB / 3.539 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/7.834, allocations: 0 / 3.539 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001447/7.835, allocations: 0.5231 MB / 3.539 GB, free: 46.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/7.836, allocations: 4 kB / 3.539 GB, free: 46.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/7.836, allocations: 4 kB / 3.539 GB, free: 46.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/7.836, allocations: 4.156 kB / 3.539 GB, free: 46.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/7.837, allocations: 123.8 kB / 3.539 GB, free: 46.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/7.837, allocations: 4 kB / 3.539 GB, free: 46.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/7.838, allocations: 67.59 kB / 3.54 GB, free: 46.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/7.838, allocations: 23.98 kB / 3.54 GB, free: 46.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002063/7.839, allocations: 116.8 kB / 3.54 GB, free: 46.08 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/7.839, allocations: 79.06 kB / 3.54 GB, free: 46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/7.84, allocations: 0.506 MB / 3.54 GB, free: 45.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/7.84, allocations: 8 kB / 3.54 GB, free: 45.48 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/7.84, allocations: 0 / 3.54 GB, free: 45.48 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/7.841, allocations: 0.7278 MB / 3.541 GB, free: 44.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/7.845, allocations: 1.37 MB / 3.542 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/7.845, allocations: 0 / 3.542 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/7.847, allocations: 155.9 kB / 3.542 GB, free: 43.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/7.847, allocations: 4 kB / 3.542 GB, free: 43.08 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/7.847, allocations: 4 kB / 3.542 GB, free: 43.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/7.847, allocations: 0 / 3.542 GB, free: 43.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/7.847, allocations: 11.84 kB / 3.542 GB, free: 43.07 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001978/7.849, allocations: 0.9165 MB / 3.543 GB, free: 42.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/7.849, allocations: 220.1 kB / 3.544 GB, free: 41.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/7.85, allocations: 4 kB / 3.544 GB, free: 41.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/7.851, allocations: 51.86 kB / 3.544 GB, free: 41.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/7.852, allocations: 32.39 kB / 3.544 GB, free: 41.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/7.852, allocations: 19.98 kB / 3.544 GB, free: 41.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007534/7.853, allocations: 375.1 kB / 3.544 GB, free: 41.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001744/7.854, allocations: 347.2 kB / 3.544 GB, free: 41.06 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.002641/7.857, allocations: 1.387 MB / 3.546 GB, free: 39.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001354/7.858, allocations: 435.4 kB / 3.546 GB, free: 39.22 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/7.858, allocations: 8.312 kB / 3.546 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/7.859, allocations: 241.5 kB / 3.546 GB, free: 38.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/7.863, allocations: 407.4 kB / 3.547 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/7.868, allocations: 1.434 MB / 3.548 GB, free: 37.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/7.87, allocations: 1.121 MB / 3.549 GB, free: 35.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.794e-06/7.87, allocations: 0 / 3.549 GB, free: 35.96 MB / 0.8698 GB Notification: Performance of Templates: time 0.05297/7.923, allocations: 20.84 MB / 3.57 GB, free: 15.29 MB / 0.8698 GB