Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") [: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 8.0.0/package.mo): time 2.176/2.176, allocations: 284.9 MB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 181.3 kB / 360.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.2 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 95.11 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.168e-05/1.18e-05, allocations: 4 kB / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5383, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.694, allocations: 2.088 GB / 3.051 GB, free: 30.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/4.694, allocations: 87.52 kB / 3.051 GB, free: 30.43 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 7.219/11.91, allocations: 1.647 GB / 4.698 GB, free: 107.3 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.0002521/11.91, allocations: 64.17 kB / 4.698 GB, free: 107.3 MB / 0.9949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01727/11.93, allocations: 3.279 MB / 4.701 GB, free: 106.1 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/11.93, allocations: 10.88 kB / 4.701 GB, free: 106.1 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009347/11.94, allocations: 0.8587 MB / 4.702 GB, free: 106 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/11.95, allocations: 1.711 MB / 4.704 GB, free: 105.6 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/11.95, allocations: 77.16 kB / 4.704 GB, free: 105.6 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006592/11.95, allocations: 153.2 kB / 4.704 GB, free: 105.6 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007546/11.95, allocations: 2.459 MB / 4.706 GB, free: 105.6 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00808/11.96, allocations: 2.732 MB / 4.709 GB, free: 105.3 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.181e-05/11.96, allocations: 3.75 kB / 4.709 GB, free: 105.3 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/11.96, allocations: 3.656 kB / 4.709 GB, free: 105.3 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/11.96, allocations: 127.1 kB / 4.709 GB, free: 105.3 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/11.99, allocations: 12.74 MB / 4.722 GB, free: 97.92 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/11.99, allocations: 1.858 MB / 4.723 GB, free: 97.88 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/11.99, allocations: 1.27 MB / 4.725 GB, free: 97.85 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/12, allocations: 1.382 MB / 4.726 GB, free: 96.35 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/12, allocations: 57.14 kB / 4.726 GB, free: 96.31 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=197): time 4.508e-06/12, allocations: 0 / 4.726 GB, free: 96.31 MB / 0.9949 GB Notification: Performance of matching and sorting (n=197): time 0.00878/12, allocations: 2.298 MB / 4.728 GB, free: 96.14 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/12, allocations: 76.16 kB / 4.728 GB, free: 96.07 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/12.01, allocations: 0.8629 MB / 4.729 GB, free: 95.94 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003384/12.01, allocations: 28.48 kB / 4.729 GB, free: 95.91 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/12.01, allocations: 0.732 MB / 4.73 GB, free: 95.48 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008705/12.01, allocations: 0.6535 MB / 4.731 GB, free: 95.04 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/12.01, allocations: 0 / 4.731 GB, free: 95.04 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0001312/12.01, allocations: 372.3 kB / 4.731 GB, free: 94.73 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/12.01, allocations: 0.8281 MB / 4.732 GB, free: 94.73 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/12.01, allocations: 1.065 MB / 4.733 GB, free: 94.52 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/12.02, allocations: 1.047 MB / 4.734 GB, free: 94.5 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/12.02, allocations: 0 / 4.734 GB, free: 94.5 MB / 0.9949 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006405/12.02, allocations: 2.279 MB / 4.736 GB, free: 94.34 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/12.02, allocations: 3.438 kB / 4.736 GB, free: 94.34 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/12.02, allocations: 3.375 kB / 4.736 GB, free: 94.34 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/12.02, allocations: 15.19 kB / 4.736 GB, free: 94.34 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/12.03, allocations: 396 kB / 4.736 GB, free: 94.34 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/12.03, allocations: 8.688 kB / 4.736 GB, free: 94.34 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/12.03, allocations: 234.7 kB / 4.737 GB, free: 94.28 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/12.03, allocations: 75.09 kB / 4.737 GB, free: 94.28 MB / 0.9949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.0006336/12.03, allocations: 137.6 kB / 4.737 GB, free: 94.17 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/12.03, allocations: 174.6 kB / 4.737 GB, free: 94.08 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007022/12.04, allocations: 2.364 MB / 4.739 GB, free: 93.97 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/12.04, allocations: 18.62 kB / 4.739 GB, free: 93.97 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/12.04, allocations: 0 / 4.739 GB, free: 93.97 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004847/12.04, allocations: 1.944 MB / 4.741 GB, free: 93.87 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/12.06, allocations: 5.037 MB / 4.746 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/12.06, allocations: 3.781 kB / 4.746 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/12.06, allocations: 452.5 kB / 4.747 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/12.06, allocations: 14.45 kB / 4.747 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/12.06, allocations: 32.56 kB / 4.747 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/12.06, allocations: 13.97 kB / 4.747 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/12.06, allocations: 2.594 kB / 4.747 GB, free: 93.25 MB / 0.9949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008582/12.07, allocations: 3.883 MB / 4.75 GB, free: 92.7 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/12.07, allocations: 0.503 MB / 4.751 GB, free: 92.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/12.07, allocations: 19.38 kB / 4.751 GB, free: 92.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003523/12.08, allocations: 172.1 kB / 4.751 GB, free: 92.48 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/12.08, allocations: 114.9 kB / 4.751 GB, free: 92.48 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/12.08, allocations: 77.64 kB / 4.751 GB, free: 92.48 MB / 0.9949 GB Notification: Performance of sort global known variables: time 0.001355/12.08, allocations: 0.6638 MB / 4.752 GB, free: 92.37 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.004021/12.08, allocations: 1.085 MB / 4.753 GB, free: 92.23 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (201): * Single equations (assignments): 201 * 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.007756/12.09, allocations: 4.61 MB / 4.758 GB, free: 90.32 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.005594/12.1, allocations: 2.056 MB / 4.76 GB, free: 90.29 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/12.1, allocations: 1.5 kB / 4.76 GB, free: 90.29 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/12.1, allocations: 1.105 MB / 4.761 GB, free: 90.29 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008767/12.11, allocations: 0.9452 MB / 4.762 GB, free: 90.25 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/12.12, allocations: 4.522 MB / 4.766 GB, free: 89.32 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003705/12.13, allocations: 2.1 MB / 4.768 GB, free: 88.56 MB / 0.9949 GB Notification: Performance of SimCode: time 2.535e-06/12.13, allocations: 3.844 kB / 4.768 GB, free: 88.56 MB / 0.9949 GB Notification: Performance of Templates: time 0.1468/12.27, allocations: 61.7 MB / 4.828 GB, free: 84.79 MB / 0.9949 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)