Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.303/1.303, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009312/0.0009311, allocations: 185.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007796/0.0007796, allocations: 87.03 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.34e-06, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4261, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.735/3.161, allocations: 2.073 GB / 3.037 GB, free: 62.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/3.161, allocations: 89.11 kB / 3.037 GB, free: 62.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.759/4.92, allocations: 0.6548 GB / 3.692 GB, free: 144.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.334e-05/4.92, allocations: 28.12 kB / 3.692 GB, free: 144.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002762/4.923, allocations: 1.391 MB / 3.693 GB, free: 143.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/4.923, allocations: 8.031 kB / 3.693 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/4.925, allocations: 402.1 kB / 3.694 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/4.926, allocations: 0.8556 MB / 3.694 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/4.926, allocations: 28 kB / 3.694 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/4.926, allocations: 48 kB / 3.694 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/4.927, allocations: 0.777 MB / 3.695 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/4.929, allocations: 0.9145 MB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/4.929, allocations: 3.984 kB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/4.929, allocations: 4 kB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/4.929, allocations: 30 kB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/4.932, allocations: 4.496 MB / 3.7 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000812/4.933, allocations: 0.6423 MB / 3.701 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/4.934, allocations: 462 kB / 3.702 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/4.934, allocations: 0.6733 MB / 3.702 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/4.934, allocations: 43.16 kB / 3.702 GB, free: 133.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 1.904e-06/4.934, allocations: 0 / 3.702 GB, free: 133.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001633/4.936, allocations: 0.7766 MB / 3.703 GB, free: 132.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/4.936, allocations: 60.06 kB / 3.703 GB, free: 132.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/4.936, allocations: 479.7 kB / 3.704 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/4.937, allocations: 25.7 kB / 3.704 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/4.937, allocations: 324 kB / 3.704 GB, free: 131.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/4.937, allocations: 240.4 kB / 3.704 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/4.937, allocations: 4 kB / 3.704 GB, free: 131.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/4.937, allocations: 382.8 kB / 3.704 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/4.937, allocations: 277.2 kB / 3.705 GB, free: 130.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/4.938, allocations: 371.2 kB / 3.705 GB, free: 130.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/4.938, allocations: 339 kB / 3.705 GB, free: 129.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/4.938, allocations: 0 / 3.705 GB, free: 129.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001059/4.939, allocations: 0.7918 MB / 3.706 GB, free: 129.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/4.939, allocations: 4 kB / 3.706 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/4.939, allocations: 4 kB / 3.706 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/4.939, allocations: 7.906 kB / 3.706 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/4.94, allocations: 156 kB / 3.706 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/4.94, allocations: 7.938 kB / 3.706 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/4.941, allocations: 79.47 kB / 3.706 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/4.941, allocations: 27.94 kB / 3.706 GB, free: 128.9 MB / 0.948 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.0001071/4.941, allocations: 112.9 kB / 3.707 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/4.941, allocations: 82.97 kB / 3.707 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/4.942, allocations: 0.8046 MB / 3.707 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/4.942, allocations: 8 kB / 3.707 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/4.942, allocations: 4 kB / 3.707 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009012/4.943, allocations: 0.8282 MB / 3.708 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/4.945, allocations: 1.773 MB / 3.71 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/4.945, allocations: 0 / 3.71 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008856/4.946, allocations: 183.8 kB / 3.71 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/4.946, allocations: 3.906 kB / 3.71 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/4.946, allocations: 11.98 kB / 3.71 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/4.946, allocations: 0 / 3.71 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/4.946, allocations: 0 / 3.71 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001441/4.948, allocations: 1.309 MB / 3.711 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/4.948, allocations: 251.9 kB / 3.712 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/4.948, allocations: 4 kB / 3.712 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/4.949, allocations: 67.78 kB / 3.712 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/4.949, allocations: 32.61 kB / 3.712 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/4.949, allocations: 23.98 kB / 3.712 GB, free: 123.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003394/4.95, allocations: 383.1 kB / 3.712 GB, free: 122.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009488/4.951, allocations: 431 kB / 3.713 GB, free: 122.4 MB / 0.948 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.001536/4.952, allocations: 1.787 MB / 3.714 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007814/4.953, allocations: 0.6747 MB / 3.715 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/4.953, allocations: 4 kB / 3.715 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/4.953, allocations: 374.3 kB / 3.715 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/4.955, allocations: 460.9 kB / 3.716 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/4.958, allocations: 1.759 MB / 3.718 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/4.958, allocations: 1.193 MB / 3.719 GB, free: 116.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/4.958, allocations: 0 / 3.719 GB, free: 116.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03142/4.99, allocations: 25.74 MB / 3.744 GB, free: 90.46 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)