Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7327/0.7327, allocations: 141.8 MB / 149.1 MB, free: 3.812 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.001513/0.001514, allocations: 188.8 kB / 181.9 MB, free: 15.54 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.359/1.359, allocations: 221.3 MB / 436 MB, free: 8.648 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.001087/0.001087, allocations: 102.4 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 266 kB / 0.5884 GB, free: 11.72 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.022e-06/6.121e-06, allocations: 0 / 0.6759 GB, free: 2.086 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4065, allocations: 82.76 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.529/3.935, allocations: 1.895 GB / 2.651 GB, free: 161.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/3.936, allocations: 84.48 kB / 2.651 GB, free: 161.4 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 5.32/9.256, allocations: 1.669 GB / 4.32 GB, free: 64.95 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0004649/9.257, allocations: 65.2 kB / 4.32 GB, free: 64.94 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01554/9.272, allocations: 3.282 MB / 4.323 GB, free: 63.47 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/9.272, allocations: 14.31 kB / 4.323 GB, free: 63.46 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00904/9.281, allocations: 0.8599 MB / 4.324 GB, free: 63.31 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006731/9.288, allocations: 1.715 MB / 4.326 GB, free: 62.8 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/9.289, allocations: 79.31 kB / 4.326 GB, free: 62.8 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/9.29, allocations: 145.4 kB / 4.326 GB, free: 62.8 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007153/9.297, allocations: 2.457 MB / 4.329 GB, free: 62.79 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009391/9.306, allocations: 2.726 MB / 4.331 GB, free: 62.47 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/9.307, allocations: 7.875 kB / 4.331 GB, free: 62.46 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008846/9.308, allocations: 0 / 4.331 GB, free: 62.46 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/9.308, allocations: 123.7 kB / 4.331 GB, free: 62.46 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/9.33, allocations: 12.74 MB / 4.344 GB, free: 54.96 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/9.333, allocations: 1.862 MB / 4.346 GB, free: 54.91 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/9.336, allocations: 1.268 MB / 4.347 GB, free: 54.88 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/9.337, allocations: 1.38 MB / 4.348 GB, free: 53.38 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/9.337, allocations: 54.84 kB / 4.348 GB, free: 53.34 MB / 0.745 GB Notification: Performance of pre-optimization done (n=197): time 4.468e-06/9.337, allocations: 0 / 4.348 GB, free: 53.34 MB / 0.745 GB Notification: Performance of matching and sorting (n=197): time 0.007141/9.344, allocations: 2.291 MB / 4.35 GB, free: 53.18 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/9.344, allocations: 73.59 kB / 4.351 GB, free: 53.11 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/9.346, allocations: 0.8643 MB / 4.351 GB, free: 52.97 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/9.347, allocations: 25.7 kB / 4.351 GB, free: 52.94 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/9.347, allocations: 0.729 MB / 4.352 GB, free: 52.52 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/9.348, allocations: 0.6494 MB / 4.353 GB, free: 52.08 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/9.348, allocations: 0 / 4.353 GB, free: 52.08 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0002101/9.348, allocations: 385.3 kB / 4.353 GB, free: 51.77 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/9.35, allocations: 0.8281 MB / 4.354 GB, free: 51.77 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/9.351, allocations: 1.063 MB / 4.355 GB, free: 51.56 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/9.354, allocations: 1.041 MB / 4.356 GB, free: 51.54 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/9.354, allocations: 3.844 kB / 4.356 GB, free: 51.54 MB / 0.745 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004626/9.358, allocations: 2.281 MB / 4.358 GB, free: 51.37 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/9.358, allocations: 3.656 kB / 4.358 GB, free: 51.37 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/9.358, allocations: 3.25 kB / 4.358 GB, free: 51.37 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.943e-05/9.358, allocations: 13.56 kB / 4.358 GB, free: 51.37 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/9.36, allocations: 392.6 kB / 4.359 GB, free: 51.35 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.217e-05/9.36, allocations: 14.41 kB / 4.359 GB, free: 51.35 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/9.363, allocations: 239.7 kB / 4.359 GB, free: 51.28 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/9.364, allocations: 74.67 kB / 4.359 GB, free: 51.28 MB / 0.745 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.0004483/9.364, allocations: 128.5 kB / 4.359 GB, free: 51.15 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007861/9.365, allocations: 176.7 kB / 4.359 GB, free: 51.06 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/9.37, allocations: 2.355 MB / 4.362 GB, free: 50.38 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/9.37, allocations: 21.91 kB / 4.362 GB, free: 50.38 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/9.37, allocations: 0 / 4.362 GB, free: 50.38 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003188/9.373, allocations: 1.955 MB / 4.363 GB, free: 49.68 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/9.385, allocations: 5.044 MB / 4.368 GB, free: 47.53 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/9.385, allocations: 2.719 kB / 4.368 GB, free: 47.53 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/9.387, allocations: 456.1 kB / 4.369 GB, free: 47.5 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-05/9.388, allocations: 9.938 kB / 4.369 GB, free: 47.5 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/9.388, allocations: 33.66 kB / 4.369 GB, free: 47.49 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.164e-05/9.388, allocations: 20.14 kB / 4.369 GB, free: 47.48 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/9.388, allocations: 7.875 kB / 4.369 GB, free: 47.48 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009177/9.397, allocations: 3.887 MB / 4.373 GB, free: 45.57 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/9.399, allocations: 0.5054 MB / 4.373 GB, free: 45.11 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007515/9.4, allocations: 5.062 kB / 4.373 GB, free: 45.11 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/9.403, allocations: 185.2 kB / 4.373 GB, free: 44.99 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/9.403, allocations: 104.2 kB / 4.373 GB, free: 44.93 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/9.403, allocations: 78.38 kB / 4.374 GB, free: 44.87 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.001351/9.405, allocations: 0.6619 MB / 4.374 GB, free: 44.27 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.00416/9.409, allocations: 1.086 MB / 4.375 GB, free: 43.2 MB / 0.745 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.006899/9.416, allocations: 4.619 MB / 4.38 GB, free: 39.48 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.004007/9.42, allocations: 2.056 MB / 4.382 GB, free: 37.58 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/9.42, allocations: 2.062 kB / 4.382 GB, free: 37.58 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/9.422, allocations: 1.104 MB / 4.383 GB, free: 36.56 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005833/9.428, allocations: 0.9434 MB / 4.384 GB, free: 35.91 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/9.44, allocations: 4.519 MB / 4.388 GB, free: 32.18 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003682/9.443, allocations: 2.094 MB / 4.39 GB, free: 30.49 MB / 0.745 GB Notification: Performance of SimCode: time 9.22e-07/9.443, allocations: 0 / 4.39 GB, free: 30.49 MB / 0.745 GB Notification: Performance of Templates: time 0.519/9.962, allocations: 61.76 MB / 4.451 GB, free: 125 MB / 0.7607 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)