Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors") [: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.043/2.043, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001754/0.001753, allocations: 188.5 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.853/1.853, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00133/0.00133, allocations: 109.6 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.205e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2317, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.63/11.86, allocations: 4.634 GB / 5.522 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/11.86, allocations: 86.44 kB / 5.523 GB, free: 65.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.85/16.71, allocations: 0.9673 GB / 6.49 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002866/16.71, allocations: 66.58 kB / 6.49 GB, free: 77.49 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01664/16.73, allocations: 3.324 MB / 6.493 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/16.73, allocations: 11.97 kB / 6.493 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/16.73, allocations: 0.7111 MB / 6.494 GB, free: 73.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007604/16.74, allocations: 1.995 MB / 6.496 GB, free: 71.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/16.74, allocations: 88 kB / 6.496 GB, free: 71.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/16.74, allocations: 159.9 kB / 6.496 GB, free: 71.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01339/16.76, allocations: 4.153 MB / 6.5 GB, free: 66.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/16.77, allocations: 2.785 MB / 6.503 GB, free: 64.15 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/16.77, allocations: 11.8 kB / 6.503 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004445/16.77, allocations: 0 / 6.503 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/16.77, allocations: 125.4 kB / 6.503 GB, free: 64.02 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/16.8, allocations: 10.73 MB / 6.513 GB, free: 52.81 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/16.81, allocations: 4.196 MB / 6.518 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006875/16.82, allocations: 2.415 MB / 6.52 GB, free: 46.22 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/16.82, allocations: 0.8624 MB / 6.521 GB, free: 45.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/16.82, allocations: 77.7 kB / 6.521 GB, free: 45.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=399): time 6.311e-06/16.82, allocations: 0 / 6.521 GB, free: 45.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=399): time 0.01894/16.84, allocations: 4.443 MB / 6.525 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/16.84, allocations: 90.55 kB / 6.525 GB, free: 40.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/16.84, allocations: 1.024 MB / 6.526 GB, free: 39.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/16.84, allocations: 29.7 kB / 6.526 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/16.84, allocations: 0.5788 MB / 6.527 GB, free: 38.87 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002586/16.84, allocations: 1.277 MB / 6.528 GB, free: 37.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007407/16.84, allocations: 0 / 6.528 GB, free: 37.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0005406/16.84, allocations: 445 kB / 6.529 GB, free: 37.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006363/16.85, allocations: 1.533 MB / 6.53 GB, free: 35.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007495/16.86, allocations: 1.819 MB / 6.532 GB, free: 33.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/16.87, allocations: 2.252 MB / 6.534 GB, free: 31.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.696e-05/16.87, allocations: 0 / 6.534 GB, free: 31.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.02166/16.89, allocations: 4.38 MB / 6.538 GB, free: 27.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/16.89, allocations: 4 kB / 6.538 GB, free: 27.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/16.89, allocations: 4 kB / 6.538 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-05/16.89, allocations: 19.94 kB / 6.538 GB, free: 27.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0089/16.9, allocations: 0.6826 MB / 6.539 GB, free: 26.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.914e-05/16.9, allocations: 16 kB / 6.539 GB, free: 26.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007566/16.91, allocations: 301.3 kB / 6.539 GB, free: 26.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000818/16.91, allocations: 108 kB / 6.539 GB, free: 25.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.001131/16.91, allocations: 160 kB / 6.54 GB, free: 25.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/16.91, allocations: 237.2 kB / 6.54 GB, free: 25.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/16.93, allocations: 4.816 MB / 6.544 GB, free: 20.68 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/16.93, allocations: 43.98 kB / 6.544 GB, free: 20.63 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/16.93, allocations: 4 kB / 6.545 GB, free: 20.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01633/16.95, allocations: 4.172 MB / 6.549 GB, free: 16.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02968/16.98, allocations: 8.182 MB / 6.557 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/16.98, allocations: 4 kB / 6.557 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006918/16.99, allocations: 0.6632 MB / 6.557 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/16.99, allocations: 146.4 kB / 6.557 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009242/16.99, allocations: 23.98 kB / 6.557 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/16.99, allocations: 4.338 MB / 6.562 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/16.99, allocations: 0 / 6.562 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02682/17.02, allocations: 7.266 MB / 6.569 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003714/17.02, allocations: 0.7665 MB / 6.569 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009672/17.03, allocations: 11.98 kB / 6.569 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/17.03, allocations: 143.7 kB / 6.57 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009923/17.03, allocations: 190.8 kB / 6.57 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000469/17.03, allocations: 112 kB / 6.57 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002236/17.03, allocations: 0.7932 MB / 6.571 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008682/17.04, allocations: 1.135 MB / 6.572 GB, free: 8.219 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006147/17.05, allocations: 2.529 MB / 6.574 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01319/17.06, allocations: 3.902 MB / 6.578 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/17.06, allocations: 3.938 kB / 6.578 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.4041/17.47, allocations: 2.456 MB / 6.58 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009904/17.48, allocations: 0.8534 MB / 6.581 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/17.5, allocations: 5.727 MB / 6.587 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005063/17.5, allocations: 2.281 MB / 6.589 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of SimCode: time 2.214e-06/17.5, allocations: 0 / 6.589 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.1537/17.66, allocations: 63.49 MB / 6.651 GB, free: 210.6 MB / 0.8855 GB