Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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 9.1.1-maint.9.1.x/package.mo): time 1.821/1.821, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 181.3 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.3 MB / 0.7819 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 97.69 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4321/0.433, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.6297, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.21/3.84, allocations: 1.92 GB / 3.125 GB, free: 383.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/3.84, allocations: 91.8 kB / 3.125 GB, free: 383.7 MB / 1.151 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 1.597/5.437, allocations: 0.6687 GB / 3.794 GB, free: 140.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/5.437, allocations: 12 kB / 3.794 GB, free: 140.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/5.438, allocations: 154.7 kB / 3.794 GB, free: 140.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/5.439, allocations: 0.5589 MB / 3.794 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/5.439, allocations: 27.91 kB / 3.794 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/5.439, allocations: 40 kB / 3.794 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008825/5.44, allocations: 0.578 MB / 3.795 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/5.441, allocations: 0.7191 MB / 3.796 GB, free: 138.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/5.441, allocations: 0 / 3.796 GB, free: 138.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/5.441, allocations: 0 / 3.796 GB, free: 138.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/5.441, allocations: 45.98 kB / 3.796 GB, free: 138 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/5.445, allocations: 4.495 MB / 3.8 GB, free: 133 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/5.446, allocations: 413.9 kB / 3.801 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/5.446, allocations: 165.5 kB / 3.801 GB, free: 132.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/5.447, allocations: 0.7756 MB / 3.802 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/5.447, allocations: 38.83 kB / 3.802 GB, free: 131.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 1.654e-06/5.447, allocations: 0 / 3.802 GB, free: 131.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0008096/5.448, allocations: 414.9 kB / 3.802 GB, free: 131 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/5.448, allocations: 55.41 kB / 3.802 GB, free: 130.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/5.448, allocations: 494.1 kB / 3.802 GB, free: 130.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/5.448, allocations: 29.7 kB / 3.802 GB, free: 130.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/5.448, allocations: 331.2 kB / 3.803 GB, free: 130.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/5.448, allocations: 134 kB / 3.803 GB, free: 130 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/5.448, allocations: 0 / 3.803 GB, free: 130 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/5.449, allocations: 366.8 kB / 3.803 GB, free: 129.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/5.449, allocations: 164.9 kB / 3.803 GB, free: 129.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/5.449, allocations: 318.9 kB / 3.804 GB, free: 129.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/5.449, allocations: 212.8 kB / 3.804 GB, free: 128.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/5.449, allocations: 8 kB / 3.804 GB, free: 128.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007216/5.45, allocations: 0.5273 MB / 3.804 GB, free: 128.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/5.45, allocations: 4 kB / 3.804 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/5.45, allocations: 4 kB / 3.804 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/5.45, allocations: 8.469 kB / 3.804 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/5.451, allocations: 107.8 kB / 3.805 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/5.451, allocations: 7.984 kB / 3.805 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/5.451, allocations: 75.55 kB / 3.805 GB, free: 128.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/5.451, allocations: 20.12 kB / 3.805 GB, free: 128.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 9.143e-05/5.451, allocations: 120.6 kB / 3.805 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/5.451, allocations: 67.23 kB / 3.805 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/5.452, allocations: 493.6 kB / 3.805 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/5.452, allocations: 8 kB / 3.805 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/5.452, allocations: 11.84 kB / 3.805 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/5.452, allocations: 3.984 kB / 3.805 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/5.455, allocations: 1.93 MB / 3.807 GB, free: 125.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.455, allocations: 4 kB / 3.807 GB, free: 125.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/5.455, allocations: 99.92 kB / 3.807 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/5.455, allocations: 12 kB / 3.807 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/5.455, allocations: 12 kB / 3.807 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/5.455, allocations: 15.92 kB / 3.807 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/5.455, allocations: 11.94 kB / 3.807 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009739/5.456, allocations: 1.272 MB / 3.809 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001557/5.458, allocations: 1.996 MB / 3.811 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/5.458, allocations: 196.2 kB / 3.811 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/5.458, allocations: 11.98 kB / 3.811 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/5.459, allocations: 44.02 kB / 3.811 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/5.459, allocations: 51.72 kB / 3.811 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/5.459, allocations: 27.98 kB / 3.811 GB, free: 120.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003322/5.459, allocations: 382.9 kB / 3.811 GB, free: 120.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002072/5.461, allocations: 0.6633 MB / 3.812 GB, free: 119.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.00234/5.464, allocations: 2.304 MB / 3.814 GB, free: 117.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005255/5.464, allocations: 411.2 kB / 3.815 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/5.464, allocations: 0 / 3.815 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/5.464, allocations: 217.6 kB / 3.815 GB, free: 116.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/5.465, allocations: 213.8 kB / 3.815 GB, free: 116.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/5.467, allocations: 1.15 MB / 3.816 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/5.468, allocations: 1.099 MB / 3.817 GB, free: 114.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.468, allocations: 3.938 kB / 3.817 GB, free: 114.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)