Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003412/0.003412, allocations: 178.1 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6714/0.6714, allocations: 130.6 MB / 138.5 MB, free: 2.148 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 391.4 MB, free: 13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 92.88 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.062e-05, allocations: 3 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.09/4.26, allocations: 1.882 GB / 2.509 GB, free: 235.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/4.26, allocations: 83.95 kB / 2.509 GB, free: 235.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.802/6.062, allocations: 0.664 GB / 3.173 GB, free: 59.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.923e-05/6.062, allocations: 26.11 kB / 3.173 GB, free: 59.13 MB / 0.6667 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.003109/6.065, allocations: 1.394 MB / 3.175 GB, free: 57.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/6.065, allocations: 8.031 kB / 3.175 GB, free: 57.69 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/6.068, allocations: 395.5 kB / 3.175 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/6.07, allocations: 0.8678 MB / 3.176 GB, free: 56.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/6.07, allocations: 27.91 kB / 3.176 GB, free: 56.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/6.07, allocations: 57.03 kB / 3.176 GB, free: 56.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001204/6.071, allocations: 0.7732 MB / 3.177 GB, free: 55.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/6.072, allocations: 0.9107 MB / 3.178 GB, free: 54.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/6.072, allocations: 3.938 kB / 3.178 GB, free: 54.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/6.072, allocations: 0 / 3.178 GB, free: 54.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/6.072, allocations: 37.98 kB / 3.178 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/6.077, allocations: 4.517 MB / 3.182 GB, free: 49.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/6.078, allocations: 0.6419 MB / 3.183 GB, free: 49.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/6.078, allocations: 454.5 kB / 3.183 GB, free: 48.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/6.079, allocations: 0.6761 MB / 3.184 GB, free: 47.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/6.079, allocations: 51.12 kB / 3.184 GB, free: 47.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.184e-06/6.079, allocations: 0 / 3.184 GB, free: 47.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.00182/6.08, allocations: 0.7727 MB / 3.185 GB, free: 47 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/6.081, allocations: 68 kB / 3.185 GB, free: 46.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/6.081, allocations: 483.7 kB / 3.185 GB, free: 46.44 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/6.081, allocations: 29.7 kB / 3.185 GB, free: 46.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/6.081, allocations: 327.9 kB / 3.186 GB, free: 46.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/6.081, allocations: 244.4 kB / 3.186 GB, free: 45.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/6.081, allocations: 0 / 3.186 GB, free: 45.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001041/6.082, allocations: 382.8 kB / 3.186 GB, free: 45.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/6.082, allocations: 269.2 kB / 3.186 GB, free: 45.19 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/6.082, allocations: 375.2 kB / 3.187 GB, free: 44.79 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/6.083, allocations: 347 kB / 3.187 GB, free: 44.45 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.083, allocations: 3.938 kB / 3.187 GB, free: 44.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001111/6.084, allocations: 0.784 MB / 3.188 GB, free: 43.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/6.084, allocations: 4.188 kB / 3.188 GB, free: 43.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/6.084, allocations: 8 kB / 3.188 GB, free: 43.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/6.084, allocations: 4 kB / 3.188 GB, free: 43.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/6.085, allocations: 147.8 kB / 3.188 GB, free: 43.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/6.085, allocations: 4 kB / 3.188 GB, free: 43.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/6.086, allocations: 91.38 kB / 3.188 GB, free: 43.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/6.086, allocations: 20 kB / 3.188 GB, free: 43.38 MB / 0.6667 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.0001234/6.086, allocations: 120.8 kB / 3.188 GB, free: 43.26 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/6.086, allocations: 86.98 kB / 3.188 GB, free: 43.17 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/6.087, allocations: 0.8045 MB / 3.189 GB, free: 42.35 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/6.087, allocations: 4 kB / 3.189 GB, free: 42.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/6.087, allocations: 0 / 3.189 GB, free: 42.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009149/6.088, allocations: 0.8283 MB / 3.19 GB, free: 41.47 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/6.091, allocations: 1.778 MB / 3.192 GB, free: 39.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/6.091, allocations: 0 / 3.192 GB, free: 39.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/6.092, allocations: 179.8 kB / 3.192 GB, free: 39.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/6.092, allocations: 0 / 3.192 GB, free: 39.49 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/6.092, allocations: 15.91 kB / 3.192 GB, free: 39.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/6.092, allocations: 4 kB / 3.192 GB, free: 39.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/6.092, allocations: 3.984 kB / 3.192 GB, free: 39.47 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001514/6.093, allocations: 1.317 MB / 3.193 GB, free: 38.14 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/6.094, allocations: 244 kB / 3.193 GB, free: 37.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/6.094, allocations: 4 kB / 3.193 GB, free: 37.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007998/6.094, allocations: 63.78 kB / 3.193 GB, free: 37.81 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/6.095, allocations: 36.59 kB / 3.193 GB, free: 37.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/6.095, allocations: 27.98 kB / 3.194 GB, free: 37.75 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003976/6.095, allocations: 383.2 kB / 3.194 GB, free: 37.38 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001227/6.096, allocations: 435 kB / 3.194 GB, free: 36.95 MB / 0.6667 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.002101/6.098, allocations: 1.789 MB / 3.196 GB, free: 35.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009257/6.099, allocations: 0.6827 MB / 3.197 GB, free: 34.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/6.099, allocations: 0 / 3.197 GB, free: 34.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/6.1, allocations: 370.3 kB / 3.197 GB, free: 34.12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/6.102, allocations: 449.2 kB / 3.197 GB, free: 33.68 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/6.105, allocations: 1.76 MB / 3.199 GB, free: 31.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/6.105, allocations: 1.201 MB / 3.2 GB, free: 30.66 MB / 0.6667 GB Notification: Performance of SimCode: time 8.02e-07/6.105, allocations: 0 / 3.2 GB, free: 30.66 MB / 0.6667 GB Notification: Performance of Templates: time 0.03303/6.138, allocations: 25.77 MB / 3.226 GB, free: 5.062 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)