Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 6.551 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.0009531/0.0009531, allocations: 181.3 kB / 366.3 MB, free: 1.922 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.097/1.097, allocations: 205.2 MB / 0.6256 GB, free: 5.781 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.0008399/0.0008399, allocations: 89.08 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2025/0.2033, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.6549, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.513/4.168, allocations: 2.089 GB / 3.062 GB, free: 350.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/4.168, allocations: 86.86 kB / 3.062 GB, free: 350.5 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.877/9.045, allocations: 1.65 GB / 4.712 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/9.045, allocations: 9 kB / 4.712 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/9.051, allocations: 0.8573 MB / 4.713 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/9.056, allocations: 1.712 MB / 4.715 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/9.056, allocations: 80.88 kB / 4.715 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007679/9.057, allocations: 148.9 kB / 4.715 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005083/9.062, allocations: 2.46 MB / 4.717 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/9.066, allocations: 2.717 MB / 4.72 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/9.067, allocations: 15.25 kB / 4.72 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/9.067, allocations: 0 / 4.72 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.831e-05/9.067, allocations: 123.3 kB / 4.72 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/9.08, allocations: 12.75 MB / 4.733 GB, free: 99.15 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/9.083, allocations: 1.871 MB / 4.734 GB, free: 99.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/9.085, allocations: 1.27 MB / 4.736 GB, free: 99.07 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009331/9.086, allocations: 1.376 MB / 4.737 GB, free: 97.56 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/9.086, allocations: 62.12 kB / 4.737 GB, free: 97.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 4.508e-06/9.086, allocations: 0 / 4.737 GB, free: 97.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.005438/9.091, allocations: 2.291 MB / 4.739 GB, free: 97.36 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/9.091, allocations: 73.84 kB / 4.739 GB, free: 97.29 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/9.092, allocations: 0.8585 MB / 4.74 GB, free: 97.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/9.093, allocations: 31.14 kB / 4.74 GB, free: 97.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/9.093, allocations: 0.7251 MB / 4.741 GB, free: 96.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007024/9.094, allocations: 0.6492 MB / 4.742 GB, free: 96.26 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/9.094, allocations: 0 / 4.742 GB, free: 96.26 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001389/9.094, allocations: 376.7 kB / 4.742 GB, free: 95.96 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/9.095, allocations: 0.8283 MB / 4.743 GB, free: 95.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/9.097, allocations: 1.068 MB / 4.744 GB, free: 95.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/9.099, allocations: 1.041 MB / 4.745 GB, free: 94.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/9.099, allocations: 3.438 kB / 4.745 GB, free: 94.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004139/9.103, allocations: 2.277 MB / 4.747 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/9.103, allocations: 4.625 kB / 4.747 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/9.103, allocations: 2.594 kB / 4.747 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.5e-05/9.103, allocations: 14.22 kB / 4.747 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/9.105, allocations: 406.1 kB / 4.747 GB, free: 94.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/9.105, allocations: 9.25 kB / 4.747 GB, free: 94.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/9.108, allocations: 239.6 kB / 4.748 GB, free: 94.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/9.108, allocations: 71.58 kB / 4.748 GB, free: 94.02 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.0003034/9.108, allocations: 131.1 kB / 4.748 GB, free: 93.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/9.108, allocations: 177.9 kB / 4.748 GB, free: 93.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/9.112, allocations: 2.356 MB / 4.75 GB, free: 92.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/9.112, allocations: 18.88 kB / 4.75 GB, free: 92.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/9.112, allocations: 0.5156 kB / 4.75 GB, free: 92.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002878/9.115, allocations: 1.955 MB / 4.752 GB, free: 92.26 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008425/9.124, allocations: 5.04 MB / 4.757 GB, free: 90.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/9.124, allocations: 3.375 kB / 4.757 GB, free: 90.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/9.126, allocations: 457.1 kB / 4.758 GB, free: 90.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.949e-05/9.126, allocations: 15.53 kB / 4.758 GB, free: 90.08 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/9.126, allocations: 37 kB / 4.758 GB, free: 90.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/9.126, allocations: 8.5 kB / 4.758 GB, free: 90.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/9.126, allocations: 6.438 kB / 4.758 GB, free: 90.07 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005203/9.132, allocations: 3.892 MB / 4.761 GB, free: 88.31 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007224/9.139, allocations: 5.929 MB / 4.767 GB, free: 82.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/9.14, allocations: 0.4989 MB / 4.768 GB, free: 82.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/9.14, allocations: 10.53 kB / 4.768 GB, free: 82.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/9.142, allocations: 180.2 kB / 4.768 GB, free: 82.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/9.142, allocations: 103.5 kB / 4.768 GB, free: 82.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/9.143, allocations: 76.7 kB / 4.768 GB, free: 82.09 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0009019/9.144, allocations: 0.6619 MB / 4.769 GB, free: 81.49 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00433/9.148, allocations: 1.633 MB / 4.77 GB, free: 79.89 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.005212/9.153, allocations: 4.614 MB / 4.775 GB, free: 76.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002786/9.156, allocations: 2.057 MB / 4.777 GB, free: 74.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/9.156, allocations: 0 / 4.777 GB, free: 74.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/9.157, allocations: 1.102 MB / 4.778 GB, free: 73.18 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/9.162, allocations: 0.9377 MB / 4.779 GB, free: 72.53 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/9.17, allocations: 4.545 MB / 4.783 GB, free: 68.95 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002231/9.172, allocations: 2.161 MB / 4.785 GB, free: 66.77 MB / 0.9948 GB Notification: Performance of SimCode: time 9.81e-07/9.172, allocations: 0 / 4.785 GB, free: 66.77 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)