Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") [: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.7236/0.7236, allocations: 141.8 MB / 149.1 MB, free: 4.121 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.001261/0.001261, allocations: 182.6 kB / 181.9 MB, free: 15.82 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.419/1.419, allocations: 221.4 MB / 436 MB, free: 8.941 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.001073/0.001073, allocations: 106.4 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001956, allocations: 272.9 kB / 0.5884 GB, free: 11.96 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.486e-06, allocations: 4 kB / 0.6759 GB, free: 2.332 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4506, allocations: 82.76 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.728/4.179, allocations: 1.906 GB / 2.662 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/4.179, allocations: 87.95 kB / 2.662 GB, free: 142.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.327/9.507, allocations: 1.661 GB / 4.323 GB, free: 65.11 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0002647/9.507, allocations: 78.34 kB / 4.323 GB, free: 65.1 MB / 0.745 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01329/9.52, allocations: 3.597 MB / 4.327 GB, free: 63.5 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/9.52, allocations: 7.188 kB / 4.327 GB, free: 63.5 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006666/9.527, allocations: 0.9017 MB / 4.328 GB, free: 63.33 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/9.532, allocations: 1.876 MB / 4.329 GB, free: 62.8 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/9.532, allocations: 88.31 kB / 4.329 GB, free: 62.8 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009392/9.533, allocations: 174.6 kB / 4.33 GB, free: 62.79 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006341/9.539, allocations: 3.303 MB / 4.333 GB, free: 62.78 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/9.546, allocations: 3.198 MB / 4.336 GB, free: 62.46 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-05/9.546, allocations: 16.44 kB / 4.336 GB, free: 62.46 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/9.546, allocations: 3.938 kB / 4.336 GB, free: 62.46 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/9.546, allocations: 133.8 kB / 4.336 GB, free: 62.45 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/9.565, allocations: 13.86 MB / 4.35 GB, free: 54.89 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004383/9.569, allocations: 2.82 MB / 4.352 GB, free: 54.8 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/9.571, allocations: 1.775 MB / 4.354 GB, free: 54.78 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/9.573, allocations: 1.592 MB / 4.356 GB, free: 53.09 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/9.573, allocations: 70.62 kB / 4.356 GB, free: 53.04 MB / 0.745 GB Notification: Performance of pre-optimization done (n=285): time 4.008e-06/9.573, allocations: 0 / 4.356 GB, free: 53.04 MB / 0.745 GB Notification: Performance of matching and sorting (n=285): time 0.007475/9.58, allocations: 3.214 MB / 4.359 GB, free: 52.63 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/9.58, allocations: 79.34 kB / 4.359 GB, free: 52.56 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/9.582, allocations: 0.9576 MB / 4.36 GB, free: 52.16 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/9.582, allocations: 29.36 kB / 4.36 GB, free: 52.13 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/9.583, allocations: 0.7559 MB / 4.361 GB, free: 51.59 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.00081/9.584, allocations: 0.9301 MB / 4.362 GB, free: 50.85 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/9.584, allocations: 3.688 kB / 4.362 GB, free: 50.85 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001679/9.584, allocations: 402.2 kB / 4.362 GB, free: 50.5 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/9.586, allocations: 1.16 MB / 4.363 GB, free: 50.07 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/9.588, allocations: 1.452 MB / 4.364 GB, free: 49.36 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/9.592, allocations: 1.582 MB / 4.366 GB, free: 48.82 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/9.592, allocations: 1.594 kB / 4.366 GB, free: 48.82 MB / 0.745 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.006366/9.599, allocations: 3.249 MB / 4.369 GB, free: 46.71 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/9.599, allocations: 4 kB / 4.369 GB, free: 46.71 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/9.599, allocations: 7.984 kB / 4.369 GB, free: 46.7 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/9.599, allocations: 19.84 kB / 4.369 GB, free: 46.69 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/9.601, allocations: 0.528 MB / 4.37 GB, free: 46.23 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.98e-05/9.601, allocations: 15.94 kB / 4.37 GB, free: 46.22 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/9.604, allocations: 276.5 kB / 4.37 GB, free: 46.01 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/9.604, allocations: 96.12 kB / 4.37 GB, free: 45.93 MB / 0.745 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 (312): * Single equations (assignments): 312 * 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.0004025/9.605, allocations: 144.4 kB / 4.37 GB, free: 45.78 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/9.605, allocations: 213.5 kB / 4.37 GB, free: 45.57 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005908/9.611, allocations: 3.385 MB / 4.374 GB, free: 42.71 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/9.611, allocations: 30.62 kB / 4.374 GB, free: 42.68 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/9.611, allocations: 0 / 4.374 GB, free: 42.68 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004299/9.616, allocations: 2.839 MB / 4.377 GB, free: 40.19 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/9.627, allocations: 6.586 MB / 4.383 GB, free: 34.78 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/9.627, allocations: 10.12 kB / 4.383 GB, free: 34.78 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/9.63, allocations: 0.5806 MB / 4.384 GB, free: 34.29 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.73e-05/9.63, allocations: 12 kB / 4.384 GB, free: 34.27 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/9.63, allocations: 39.53 kB / 4.384 GB, free: 34.25 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/9.63, allocations: 12 kB / 4.384 GB, free: 34.23 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/9.63, allocations: 7.75 kB / 4.384 GB, free: 34.23 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007192/9.637, allocations: 5.427 MB / 4.389 GB, free: 29.19 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/9.639, allocations: 0.6262 MB / 4.39 GB, free: 28.63 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005641/9.639, allocations: 8 kB / 4.39 GB, free: 28.62 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/9.642, allocations: 185.1 kB / 4.39 GB, free: 28.51 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/9.642, allocations: 142.2 kB / 4.39 GB, free: 28.43 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/9.642, allocations: 92.66 kB / 4.39 GB, free: 28.35 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.001121/9.643, allocations: 0.7376 MB / 4.391 GB, free: 27.68 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.003634/9.647, allocations: 1.216 MB / 4.392 GB, free: 26.49 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 285 * 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.006095/9.653, allocations: 4.573 MB / 4.396 GB, free: 22.78 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.0051/9.658, allocations: 2.891 MB / 4.399 GB, free: 20.09 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/9.658, allocations: 4 kB / 4.399 GB, free: 20.09 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/9.661, allocations: 1.564 MB / 4.401 GB, free: 18.64 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005791/9.666, allocations: 0.9831 MB / 4.402 GB, free: 17.97 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/9.677, allocations: 5.484 MB / 4.407 GB, free: 12.84 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/9.68, allocations: 2.312 MB / 4.409 GB, free: 10.49 MB / 0.745 GB Notification: Performance of SimCode: time 9.82e-07/9.68, allocations: 2.906 kB / 4.409 GB, free: 10.49 MB / 0.745 GB Notification: Performance of Templates: time 0.4042/10.08, allocations: 68.71 MB / 4.476 GB, free: 122.8 MB / 0.7607 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)