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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8174/0.8174, allocations: 141.8 MB / 149.1 MB, free: 268 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 175.8 kB / 182 MB, free: 12.5 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.426/1.426, allocations: 221.3 MB / 436 MB, free: 5.262 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.0009787/0.0009787, allocations: 100.2 kB / 0.507 GB, free: 19.19 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 285.4 kB / 0.5885 GB, free: 6.434 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4403/0.4422, allocations: 89.62 MB / 0.676 GB, free: 139.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.6237, allocations: 82.78 MB / 0.7568 GB, free: 88.05 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.954/4.577, allocations: 1.895 GB / 2.651 GB, free: 117.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/4.578, allocations: 91.94 kB / 2.651 GB, free: 117 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: 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 5.91/10.49, allocations: 1.672 GB / 4.324 GB, free: 55.1 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/10.49, allocations: 11.91 kB / 4.324 GB, free: 55.09 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00668/10.49, allocations: 0.8627 MB / 4.324 GB, free: 54.23 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/10.5, allocations: 1.711 MB / 4.326 GB, free: 52.5 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/10.5, allocations: 76 kB / 4.326 GB, free: 52.43 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004145/10.5, allocations: 151.4 kB / 4.326 GB, free: 52.28 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003963/10.5, allocations: 2.458 MB / 4.329 GB, free: 49.82 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/10.51, allocations: 2.722 MB / 4.331 GB, free: 46.98 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/10.51, allocations: 15.78 kB / 4.331 GB, free: 46.97 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/10.51, allocations: 0 / 4.331 GB, free: 46.97 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.022e-05/10.51, allocations: 120.7 kB / 4.331 GB, free: 46.85 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/10.52, allocations: 12.74 MB / 4.344 GB, free: 33.3 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/10.52, allocations: 1.863 MB / 4.346 GB, free: 31.44 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/10.52, allocations: 1.278 MB / 4.347 GB, free: 30.16 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009598/10.53, allocations: 1.378 MB / 4.348 GB, free: 28.5 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/10.53, allocations: 56.56 kB / 4.348 GB, free: 28.43 MB / 0.745 GB Notification: Performance of pre-optimization done (n=197): time 4.468e-06/10.53, allocations: 0 / 4.348 GB, free: 28.43 MB / 0.745 GB Notification: Performance of matching and sorting (n=197): time 0.005278/10.53, allocations: 2.292 MB / 4.351 GB, free: 26.13 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/10.53, allocations: 69.41 kB / 4.351 GB, free: 26.05 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/10.53, allocations: 0.8688 MB / 4.352 GB, free: 25.18 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/10.53, allocations: 29.7 kB / 4.352 GB, free: 25.14 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/10.53, allocations: 0.7294 MB / 4.352 GB, free: 24.4 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005582/10.53, allocations: 0.6503 MB / 4.353 GB, free: 23.74 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/10.53, allocations: 0 / 4.353 GB, free: 23.74 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/10.53, allocations: 365.9 kB / 4.353 GB, free: 23.38 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/10.53, allocations: 0.8318 MB / 4.354 GB, free: 22.55 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/10.54, allocations: 1.068 MB / 4.355 GB, free: 21.41 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/10.54, allocations: 1.044 MB / 4.356 GB, free: 20.37 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/10.54, allocations: 0 / 4.356 GB, free: 20.37 MB / 0.745 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003685/10.54, allocations: 2.28 MB / 4.358 GB, free: 18.08 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/10.54, allocations: 4 kB / 4.358 GB, free: 18.07 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/10.54, allocations: 4 kB / 4.358 GB, free: 18.07 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.18e-05/10.54, allocations: 15.91 kB / 4.358 GB, free: 18.05 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/10.54, allocations: 395.4 kB / 4.359 GB, free: 17.67 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/10.54, allocations: 8 kB / 4.359 GB, free: 17.66 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/10.55, allocations: 238.7 kB / 4.359 GB, free: 17.43 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/10.55, allocations: 75.97 kB / 4.359 GB, free: 17.35 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.0003491/10.55, allocations: 128.6 kB / 4.359 GB, free: 17.22 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/10.55, allocations: 177.9 kB / 4.359 GB, free: 17.04 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/10.55, allocations: 2.353 MB / 4.362 GB, free: 14.68 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/10.55, allocations: 20 kB / 4.362 GB, free: 14.66 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/10.55, allocations: 0 / 4.362 GB, free: 14.66 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002651/10.55, allocations: 1.955 MB / 4.364 GB, free: 12.69 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/10.56, allocations: 5.044 MB / 4.368 GB, free: 7.598 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/10.56, allocations: 4 kB / 4.368 GB, free: 7.594 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/10.56, allocations: 451.7 kB / 4.369 GB, free: 7.152 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/10.56, allocations: 8 kB / 4.369 GB, free: 7.145 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/10.56, allocations: 39.95 kB / 4.369 GB, free: 7.105 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/10.56, allocations: 8 kB / 4.369 GB, free: 7.098 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/10.56, allocations: 4 kB / 4.369 GB, free: 7.094 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005001/10.57, allocations: 3.898 MB / 4.373 GB, free: 3.109 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008001/10.58, allocations: 5.926 MB / 4.379 GB, free: 13.08 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/10.58, allocations: 0.5023 MB / 4.379 GB, free: 12.56 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/10.58, allocations: 12 kB / 4.379 GB, free: 12.55 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/10.58, allocations: 171.6 kB / 4.379 GB, free: 12.38 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/10.58, allocations: 117.7 kB / 4.379 GB, free: 12.27 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/10.58, allocations: 71.95 kB / 4.379 GB, free: 12.2 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.001018/10.58, allocations: 0.6646 MB / 4.38 GB, free: 11.53 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.005002/10.59, allocations: 1.63 MB / 4.382 GB, free: 9.895 MB / 0.7607 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.006587/10.59, allocations: 4.637 MB / 4.386 GB, free: 5.102 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.00409/10.6, allocations: 2.048 MB / 4.388 GB, free: 3.051 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/10.6, allocations: 4 kB / 4.388 GB, free: 3.047 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/10.6, allocations: 1.108 MB / 4.389 GB, free: 1.941 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005459/10.61, allocations: 0.9243 MB / 4.39 GB, free: 1.039 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3738/10.98, allocations: 4.534 MB / 4.395 GB, free: 118.1 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/10.98, allocations: 2.157 MB / 4.397 GB, free: 117.3 MB / 0.7607 GB Notification: Performance of SimCode: time 1.072e-06/10.98, allocations: 3.828 kB / 4.397 GB, free: 117.3 MB / 0.7607 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)