Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [: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 1.981/1.981, allocations: 253.1 MB / 260.4 MB, free: 7.434 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.001706/0.001705, allocations: 185 kB / 319.6 MB, free: 3.266 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.856/1.856, allocations: 205.4 MB / 0.5704 GB, free: 14.99 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.001364/0.001364, allocations: 90.7 kB / 0.6746 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.195e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2149, allocations: 106.2 MB / 0.888 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/5.916, allocations: 2.192 GB / 3.08 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/5.917, allocations: 90.25 kB / 3.08 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.019/8.936, allocations: 0.6386 GB / 3.719 GB, free: 177 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001344/8.936, allocations: 28.91 kB / 3.719 GB, free: 177 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.006572/8.943, allocations: 1.403 MB / 3.72 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/8.943, allocations: 8.25 kB / 3.72 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/8.948, allocations: 404.8 kB / 3.721 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/8.951, allocations: 0.8641 MB / 3.722 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/8.951, allocations: 26.91 kB / 3.722 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003569/8.952, allocations: 52.52 kB / 3.722 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003076/8.955, allocations: 0.7762 MB / 3.722 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/8.958, allocations: 0.9223 MB / 3.723 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/8.958, allocations: 2.25 kB / 3.723 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/8.958, allocations: 4.719 kB / 3.723 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-05/8.958, allocations: 35.8 kB / 3.723 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/8.968, allocations: 4.526 MB / 3.728 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/8.971, allocations: 0.6448 MB / 3.728 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/8.972, allocations: 438.4 kB / 3.729 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/8.973, allocations: 0.6706 MB / 3.729 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/8.973, allocations: 44.77 kB / 3.73 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.957e-06/8.973, allocations: 3.938 kB / 3.73 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.003693/8.977, allocations: 0.762 MB / 3.73 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/8.977, allocations: 70.8 kB / 3.73 GB, free: 170 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/8.978, allocations: 491.1 kB / 3.731 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002215/8.978, allocations: 27.17 kB / 3.731 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/8.979, allocations: 329.9 kB / 3.731 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/8.979, allocations: 235 kB / 3.731 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/8.979, allocations: 4.844 kB / 3.731 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001899/8.979, allocations: 386 kB / 3.732 GB, free: 169 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000792/8.98, allocations: 267.4 kB / 3.732 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/8.981, allocations: 366.1 kB / 3.732 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/8.982, allocations: 340 kB / 3.733 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/8.982, allocations: 0 / 3.733 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002834/8.985, allocations: 0.7765 MB / 3.733 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/8.985, allocations: 5.672 kB / 3.733 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/8.985, allocations: 2.156 kB / 3.733 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.102e-05/8.985, allocations: 11.5 kB / 3.733 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/8.987, allocations: 155.4 kB / 3.734 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/8.987, allocations: 4.5 kB / 3.734 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/8.989, allocations: 89.2 kB / 3.734 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/8.989, allocations: 23.11 kB / 3.734 GB, free: 168.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0002732/8.99, allocations: 116 kB / 3.734 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/8.99, allocations: 83.97 kB / 3.734 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/8.993, allocations: 0.8002 MB / 3.735 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/8.993, allocations: 9.906 kB / 3.735 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/8.993, allocations: 4.938 kB / 3.735 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002006/8.995, allocations: 0.8134 MB / 3.735 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/9, allocations: 1.78 MB / 3.737 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/9, allocations: 0 / 3.737 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/9.002, allocations: 179.7 kB / 3.737 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/9.002, allocations: 3.062 kB / 3.737 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/9.003, allocations: 18.95 kB / 3.737 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/9.003, allocations: 2.562 kB / 3.737 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/9.003, allocations: 1.656 kB / 3.737 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003686/9.006, allocations: 1.286 MB / 3.739 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/9.007, allocations: 253.8 kB / 3.739 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/9.008, allocations: 6.859 kB / 3.739 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/9.009, allocations: 65.66 kB / 3.739 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/9.01, allocations: 39.08 kB / 3.739 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/9.01, allocations: 25.03 kB / 3.739 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008793/9.011, allocations: 387.9 kB / 3.739 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002226/9.013, allocations: 441.2 kB / 3.74 GB, free: 165.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.003845/9.017, allocations: 1.773 MB / 3.742 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002259/9.019, allocations: 0.6681 MB / 3.742 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/9.019, allocations: 0.875 kB / 3.742 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000969/9.02, allocations: 373 kB / 3.743 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004889/9.025, allocations: 465 kB / 3.743 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/9.032, allocations: 1.769 MB / 3.745 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/9.034, allocations: 1.202 MB / 3.746 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.144e-06/9.034, allocations: 0 / 3.746 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.06973/9.104, allocations: 26.01 MB / 3.771 GB, free: 140.6 MB / 0.8698 GB