Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.327/1.327, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001037, allocations: 185.3 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007536/0.0007536, allocations: 90.84 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.03e-06/5.06e-06, allocations: 0 / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.929/3.354, allocations: 2.088 GB / 3.052 GB, free: 28.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/3.354, allocations: 89.75 kB / 3.052 GB, free: 28.75 MB / 0.948 GB [/home/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() [/home/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() [/home/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() [/home/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 4.707/8.061, allocations: 1.647 GB / 4.699 GB, free: 110 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001995/8.061, allocations: 66.16 kB / 4.699 GB, free: 110 MB / 0.9948 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.01059/8.072, allocations: 3.274 MB / 4.702 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/8.072, allocations: 14.16 kB / 4.702 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/8.078, allocations: 0.8624 MB / 4.703 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/8.082, allocations: 1.708 MB / 4.705 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/8.083, allocations: 76.69 kB / 4.705 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007198/8.083, allocations: 149.7 kB / 4.705 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004633/8.088, allocations: 2.461 MB / 4.707 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/8.093, allocations: 2.724 MB / 4.71 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/8.093, allocations: 2.906 kB / 4.71 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/8.094, allocations: 3.562 kB / 4.71 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/8.094, allocations: 123.8 kB / 4.71 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/8.107, allocations: 12.75 MB / 4.723 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/8.11, allocations: 1.865 MB / 4.724 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/8.111, allocations: 1.267 MB / 4.726 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008535/8.112, allocations: 1.379 MB / 4.727 GB, free: 99.03 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/8.112, allocations: 56.06 kB / 4.727 GB, free: 98.99 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 4.008e-06/8.112, allocations: 0 / 4.727 GB, free: 98.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.005063/8.117, allocations: 2.301 MB / 4.729 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/8.117, allocations: 75.86 kB / 4.729 GB, free: 98.76 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/8.119, allocations: 0.8581 MB / 4.73 GB, free: 98.62 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/8.119, allocations: 32.27 kB / 4.73 GB, free: 98.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/8.119, allocations: 0.7296 MB / 4.731 GB, free: 98.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/8.12, allocations: 0.6478 MB / 4.732 GB, free: 97.73 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/8.12, allocations: 3.344 kB / 4.732 GB, free: 97.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/8.12, allocations: 370.8 kB / 4.732 GB, free: 97.42 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/8.121, allocations: 0.832 MB / 4.733 GB, free: 97.42 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/8.122, allocations: 1.061 MB / 4.734 GB, free: 97.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/8.124, allocations: 1.043 MB / 4.735 GB, free: 97.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/8.124, allocations: 4.344 kB / 4.735 GB, free: 97.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003502/8.127, allocations: 2.276 MB / 4.737 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/8.127, allocations: 7.562 kB / 4.737 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/8.127, allocations: 2.062 kB / 4.737 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/8.127, allocations: 11.34 kB / 4.737 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/8.129, allocations: 398.4 kB / 4.737 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/8.129, allocations: 11.5 kB / 4.737 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/8.132, allocations: 238.4 kB / 4.738 GB, free: 96.97 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/8.132, allocations: 71.14 kB / 4.738 GB, free: 96.97 MB / 0.9948 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.0003243/8.132, allocations: 135.2 kB / 4.738 GB, free: 96.86 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/8.133, allocations: 176 kB / 4.738 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/8.137, allocations: 2.354 MB / 4.74 GB, free: 96.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/8.137, allocations: 21.84 kB / 4.74 GB, free: 96.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.137, allocations: 0 / 4.74 GB, free: 96.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/8.139, allocations: 1.944 MB / 4.742 GB, free: 96.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/8.147, allocations: 5.041 MB / 4.747 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/8.147, allocations: 3.75 kB / 4.747 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/8.15, allocations: 456.4 kB / 4.748 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.754e-05/8.15, allocations: 10.06 kB / 4.748 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/8.15, allocations: 43 kB / 4.748 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/8.15, allocations: 10.59 kB / 4.748 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/8.15, allocations: 5.438 kB / 4.748 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005112/8.155, allocations: 3.887 MB / 4.752 GB, free: 95.39 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/8.156, allocations: 0.4996 MB / 4.752 GB, free: 95.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/8.157, allocations: 9.75 kB / 4.752 GB, free: 95.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/8.159, allocations: 178.5 kB / 4.752 GB, free: 95.17 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/8.159, allocations: 110.8 kB / 4.752 GB, free: 95.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/8.16, allocations: 72.25 kB / 4.752 GB, free: 95.16 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001137/8.161, allocations: 0.6637 MB / 4.753 GB, free: 95.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00316/8.164, allocations: 1.085 MB / 4.754 GB, free: 94.92 MB / 0.9948 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.005842/8.17, allocations: 4.617 MB / 4.759 GB, free: 93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00345/8.173, allocations: 2.056 MB / 4.761 GB, free: 92.97 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/8.173, allocations: 5.719 kB / 4.761 GB, free: 92.97 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/8.175, allocations: 1.102 MB / 4.762 GB, free: 92.96 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/8.179, allocations: 0.9564 MB / 4.763 GB, free: 92.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/8.188, allocations: 4.514 MB / 4.767 GB, free: 92 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002556/8.19, allocations: 2.092 MB / 4.769 GB, free: 91.25 MB / 0.9948 GB Notification: Performance of SimCode: time 8.72e-07/8.19, allocations: 2.406 kB / 4.769 GB, free: 91.25 MB / 0.9948 GB Notification: Performance of Templates: time 0.08125/8.272, allocations: 61.69 MB / 4.829 GB, free: 84.35 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)