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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) [: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.357/1.357, allocations: 285.5 MB / 292.8 MB, free: 9.922 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.00092/0.00092, allocations: 197.2 kB / 361.1 MB, free: 352 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 2.926 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.0008359, allocations: 92.97 kB / 0.7326 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3544/0.3553, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.5011, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.076/3.577, allocations: 2.088 GB / 3.052 GB, free: 274 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/3.578, allocations: 87.95 kB / 3.052 GB, free: 273.9 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: 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 4.122/7.7, allocations: 1.65 GB / 4.702 GB, free: 70.24 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/7.7, allocations: 8 kB / 4.702 GB, free: 70.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/7.706, allocations: 0.8623 MB / 4.703 GB, free: 69.37 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/7.709, allocations: 1.718 MB / 4.705 GB, free: 67.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/7.709, allocations: 80 kB / 4.705 GB, free: 67.55 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/7.709, allocations: 148 kB / 4.705 GB, free: 67.41 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003749/7.713, allocations: 2.454 MB / 4.707 GB, free: 64.95 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/7.717, allocations: 2.723 MB / 4.71 GB, free: 62.11 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.706e-05/7.717, allocations: 3.906 kB / 4.71 GB, free: 62.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/7.717, allocations: 11.92 kB / 4.71 GB, free: 62.09 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/7.718, allocations: 116.7 kB / 4.71 GB, free: 61.97 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/7.729, allocations: 12.75 MB / 4.723 GB, free: 48.38 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/7.731, allocations: 1.864 MB / 4.725 GB, free: 46.52 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/7.733, allocations: 1.264 MB / 4.726 GB, free: 45.25 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/7.734, allocations: 1.378 MB / 4.727 GB, free: 43.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/7.734, allocations: 60.5 kB / 4.727 GB, free: 43.52 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=197): time 3.426e-06/7.734, allocations: 4 kB / 4.727 GB, free: 43.52 MB / 0.9792 GB Notification: Performance of matching and sorting (n=197): time 0.004522/7.738, allocations: 2.288 MB / 4.729 GB, free: 41.22 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/7.738, allocations: 73.41 kB / 4.729 GB, free: 41.13 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/7.739, allocations: 0.8688 MB / 4.73 GB, free: 40.26 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/7.74, allocations: 25.7 kB / 4.73 GB, free: 40.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/7.74, allocations: 0.7352 MB / 4.731 GB, free: 39.48 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000447/7.74, allocations: 0.6425 MB / 4.732 GB, free: 38.83 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/7.74, allocations: 0 / 4.732 GB, free: 38.83 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/7.74, allocations: 380.8 kB / 4.732 GB, free: 38.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/7.741, allocations: 0.824 MB / 4.733 GB, free: 37.63 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/7.743, allocations: 1.069 MB / 4.734 GB, free: 36.49 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/7.744, allocations: 1.04 MB / 4.735 GB, free: 35.45 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/7.744, allocations: 4 kB / 4.735 GB, free: 35.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003166/7.747, allocations: 2.276 MB / 4.737 GB, free: 33.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/7.747, allocations: 7.906 kB / 4.737 GB, free: 33.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/7.747, allocations: 4 kB / 4.737 GB, free: 33.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/7.747, allocations: 11.52 kB / 4.737 GB, free: 33.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/7.749, allocations: 399.4 kB / 4.738 GB, free: 32.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/7.749, allocations: 12 kB / 4.738 GB, free: 32.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/7.751, allocations: 238.7 kB / 4.738 GB, free: 32.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/7.751, allocations: 71.97 kB / 4.738 GB, free: 32.44 MB / 0.9792 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.0002463/7.752, allocations: 128.6 kB / 4.738 GB, free: 32.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/7.752, allocations: 173.9 kB / 4.738 GB, free: 32.13 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/7.755, allocations: 2.355 MB / 4.74 GB, free: 29.77 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/7.755, allocations: 20 kB / 4.74 GB, free: 29.75 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/7.755, allocations: 0 / 4.74 GB, free: 29.75 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002426/7.758, allocations: 1.955 MB / 4.742 GB, free: 27.78 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/7.765, allocations: 5.032 MB / 4.747 GB, free: 22.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/7.765, allocations: 8 kB / 4.747 GB, free: 22.69 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/7.767, allocations: 463.6 kB / 4.748 GB, free: 22.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/7.767, allocations: 12 kB / 4.748 GB, free: 22.22 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/7.767, allocations: 31.97 kB / 4.748 GB, free: 22.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/7.767, allocations: 11.98 kB / 4.748 GB, free: 22.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/7.767, allocations: 7.906 kB / 4.748 GB, free: 22.17 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004151/7.771, allocations: 3.884 MB / 4.752 GB, free: 18.2 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006193/7.777, allocations: 5.936 MB / 4.757 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/7.778, allocations: 0.4983 MB / 4.758 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003502/7.779, allocations: 15.98 kB / 4.758 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/7.781, allocations: 171.6 kB / 4.758 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/7.781, allocations: 109.8 kB / 4.758 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/7.781, allocations: 75.95 kB / 4.758 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0007286/7.782, allocations: 0.6607 MB / 4.759 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003716/7.785, allocations: 1.634 MB / 4.76 GB, free: 8.992 MB / 0.9792 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.004578/7.79, allocations: 4.611 MB / 4.765 GB, free: 4.418 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002385/7.792, allocations: 2.06 MB / 4.767 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/7.792, allocations: 0 / 4.767 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/7.794, allocations: 1.101 MB / 4.768 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/7.797, allocations: 0.9372 MB / 4.769 GB, free: 352 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/7.805, allocations: 4.545 MB / 4.773 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/7.808, allocations: 2.155 MB / 4.776 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of SimCode: time 4.31e-07/7.808, allocations: 3.938 kB / 4.776 GB, free: 9.586 MB / 0.9948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)