Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7301/0.7301, allocations: 141.8 MB / 149.1 MB, free: 1.902 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 177.3 kB / 182 MB, free: 1.367 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 436 MB, free: 6.168 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 92.55 kB / 0.507 GB, free: 2.848 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 271.1 kB / 0.5884 GB, free: 47.83 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.282e-05, allocations: 4 kB / 0.6759 GB, free: 6.207 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3747, allocations: 82.76 MB / 0.7567 GB, free: 25.27 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.352/3.727, allocations: 1.882 GB / 2.639 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/3.727, allocations: 96.38 kB / 2.639 GB, free: 133.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.456/6.183, allocations: 0.8108 GB / 3.449 GB, free: 114.7 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001086/6.183, allocations: 29.36 kB / 3.449 GB, free: 114.7 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005283/6.189, allocations: 1.591 MB / 3.451 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/6.189, allocations: 11.06 kB / 3.451 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/6.192, allocations: 457.1 kB / 3.451 GB, free: 113.4 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/6.194, allocations: 0.8983 MB / 3.452 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/6.194, allocations: 34.41 kB / 3.452 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/6.195, allocations: 60.03 kB / 3.452 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001811/6.196, allocations: 0.9324 MB / 3.453 GB, free: 112.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/6.198, allocations: 1.073 MB / 3.454 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/6.199, allocations: 1.469 kB / 3.454 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/6.199, allocations: 5.422 kB / 3.454 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/6.199, allocations: 40.19 kB / 3.454 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/6.205, allocations: 5.068 MB / 3.459 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/6.206, allocations: 0.5134 MB / 3.46 GB, free: 107 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/6.208, allocations: 0.6089 MB / 3.461 GB, free: 106.8 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005396/6.208, allocations: 0.6738 MB / 3.461 GB, free: 106 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/6.208, allocations: 47.34 kB / 3.461 GB, free: 106 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=82): time 4.509e-06/6.208, allocations: 0.8125 kB / 3.461 GB, free: 106 MB / 0.7138 GB Notification: Performance of matching and sorting (n=83): time 0.006616/6.215, allocations: 2.23 MB / 3.463 GB, free: 104.7 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/6.215, allocations: 60.91 kB / 3.463 GB, free: 104.6 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/6.216, allocations: 491.4 kB / 3.464 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/6.216, allocations: 27.33 kB / 3.464 GB, free: 104.3 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/6.216, allocations: 347.8 kB / 3.464 GB, free: 104 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/6.216, allocations: 287.3 kB / 3.465 GB, free: 103.8 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/6.216, allocations: 0 / 3.465 GB, free: 103.8 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.000162/6.216, allocations: 389.2 kB / 3.465 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/6.217, allocations: 353 kB / 3.465 GB, free: 103.2 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/6.218, allocations: 486.5 kB / 3.466 GB, free: 102.8 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/6.218, allocations: 451.8 kB / 3.466 GB, free: 102.3 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/6.218, allocations: 4 kB / 3.466 GB, free: 102.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001703/6.22, allocations: 1.021 MB / 3.467 GB, free: 101.3 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/6.22, allocations: 4 kB / 3.467 GB, free: 101.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/6.22, allocations: 4 kB / 3.467 GB, free: 101.3 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/6.22, allocations: 56 kB / 3.467 GB, free: 101.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/6.221, allocations: 167.8 kB / 3.467 GB, free: 101.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004265/6.222, allocations: 0.6209 MB / 3.468 GB, free: 100.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/6.223, allocations: 74.97 kB / 3.468 GB, free: 100.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/6.223, allocations: 28.05 kB / 3.468 GB, free: 100.3 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/6.223, allocations: 120.8 kB / 3.468 GB, free: 100.2 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/6.223, allocations: 86.97 kB / 3.468 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/6.225, allocations: 0.9971 MB / 3.469 GB, free: 99.13 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/6.225, allocations: 8 kB / 3.469 GB, free: 99.12 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/6.225, allocations: 0 / 3.469 GB, free: 99.12 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/6.226, allocations: 0.9754 MB / 3.47 GB, free: 98.1 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/6.23, allocations: 2.112 MB / 3.472 GB, free: 95.96 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/6.23, allocations: 0 / 3.472 GB, free: 95.96 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/6.231, allocations: 206.6 kB / 3.472 GB, free: 95.77 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/6.231, allocations: 4 kB / 3.472 GB, free: 95.76 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/6.231, allocations: 11.98 kB / 3.472 GB, free: 95.75 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/6.231, allocations: 4 kB / 3.472 GB, free: 95.75 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/6.231, allocations: 0 / 3.472 GB, free: 95.75 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001958/6.233, allocations: 1.589 MB / 3.474 GB, free: 94.15 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/6.234, allocations: 252.1 kB / 3.474 GB, free: 93.88 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/6.234, allocations: 128 / 3.474 GB, free: 93.88 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/6.235, allocations: 78.2 kB / 3.474 GB, free: 93.81 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/6.235, allocations: 47.34 kB / 3.474 GB, free: 93.77 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/6.235, allocations: 35.91 kB / 3.474 GB, free: 93.73 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0004442/6.235, allocations: 375.2 kB / 3.475 GB, free: 93.38 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001513/6.237, allocations: 443.9 kB / 3.475 GB, free: 92.94 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.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 (83): * Single equations (assignments): 83 * 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.002772/6.24, allocations: 2.246 MB / 3.477 GB, free: 91.11 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001346/6.241, allocations: 0.8707 MB / 3.478 GB, free: 90.25 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/6.241, allocations: 0 / 3.478 GB, free: 90.25 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0005368/6.242, allocations: 462.8 kB / 3.479 GB, free: 89.79 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/6.244, allocations: 493.9 kB / 3.479 GB, free: 89.35 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/6.248, allocations: 1.906 MB / 3.481 GB, free: 87.7 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/6.249, allocations: 1.242 MB / 3.482 GB, free: 86.45 MB / 0.7138 GB Notification: Performance of SimCode: time 7.72e-07/6.249, allocations: 0 / 3.482 GB, free: 86.45 MB / 0.7138 GB Notification: Performance of Templates: time 0.04164/6.29, allocations: 30.74 MB / 3.512 GB, free: 56.5 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)