Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",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.0/package.mo): time 2.31/2.31, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.00157/0.00157, allocations: 191.7 kB / 360.3 MB, free: 7.531 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.776/1.776, allocations: 205.1 MB / 0.6187 GB, free: 13.3 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.001239/0.001239, allocations: 92.47 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2386/0.2399, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.8321, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.214/5.046, allocations: 2.077 GB / 3.039 GB, free: 42.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/5.047, allocations: 87.59 kB / 3.039 GB, free: 41.98 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 2.224/7.271, allocations: 455.8 MB / 3.485 GB, free: 222.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/7.271, allocations: 10.88 kB / 3.485 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009715/7.272, allocations: 164 kB / 3.485 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/7.274, allocations: 0.6367 MB / 3.485 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/7.274, allocations: 30.88 kB / 3.485 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/7.274, allocations: 50.81 kB / 3.485 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003651/7.278, allocations: 1.319 MB / 3.487 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/7.281, allocations: 1.067 MB / 3.488 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/7.281, allocations: 0 / 3.488 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/7.281, allocations: 9.656 kB / 3.488 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/7.281, allocations: 48.94 kB / 3.488 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008821/7.29, allocations: 3.225 MB / 3.491 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/7.293, allocations: 1.342 MB / 3.492 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/7.294, allocations: 0.7224 MB / 3.493 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/7.296, allocations: 1.539 MB / 3.494 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/7.298, allocations: 0.7095 MB / 3.495 GB, free: 219.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=127): time 4.128e-06/7.298, allocations: 7.359 kB / 3.495 GB, free: 219.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=127): time 0.004758/7.303, allocations: 1.423 MB / 3.497 GB, free: 219.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/7.303, allocations: 93.36 kB / 3.497 GB, free: 219.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009024/7.304, allocations: 0.4957 MB / 3.497 GB, free: 219.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/7.304, allocations: 25.7 kB / 3.497 GB, free: 219.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/7.304, allocations: 288.2 kB / 3.497 GB, free: 218.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/7.304, allocations: 411 kB / 3.498 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/7.304, allocations: 0 / 3.498 GB, free: 218.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001328/7.305, allocations: 393.2 kB / 3.498 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/7.306, allocations: 0.5183 MB / 3.499 GB, free: 218.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/7.307, allocations: 0.6656 MB / 3.499 GB, free: 218.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/7.31, allocations: 0.7662 MB / 3.5 GB, free: 218.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/7.31, allocations: 0 / 3.5 GB, free: 218.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004785/7.315, allocations: 1.514 MB / 3.502 GB, free: 218.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/7.315, allocations: 3.906 kB / 3.502 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/7.315, allocations: 6.094 kB / 3.502 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/7.315, allocations: 7.188 kB / 3.502 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/7.317, allocations: 230.4 kB / 3.502 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/7.317, allocations: 10.31 kB / 3.502 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/7.319, allocations: 92.17 kB / 3.502 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/7.319, allocations: 46.88 kB / 3.502 GB, free: 218.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0003524/7.319, allocations: 163.5 kB / 3.502 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/7.319, allocations: 91.12 kB / 3.502 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/7.325, allocations: 1.653 MB / 3.504 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/7.325, allocations: 13.12 kB / 3.504 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.048e-06/7.325, allocations: 1.5 kB / 3.504 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/7.325, allocations: 7.594 kB / 3.504 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/7.336, allocations: 3.606 MB / 3.507 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/7.336, allocations: 7.781 kB / 3.507 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/7.338, allocations: 214.6 kB / 3.508 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/7.338, allocations: 11.22 kB / 3.508 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/7.338, allocations: 26.03 kB / 3.508 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/7.338, allocations: 14.91 kB / 3.508 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/7.338, allocations: 8.094 kB / 3.508 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006581/7.345, allocations: 2.998 MB / 3.511 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008581/7.353, allocations: 4.328 MB / 3.515 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/7.354, allocations: 341 kB / 3.515 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/7.355, allocations: 11.28 kB / 3.515 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/7.356, allocations: 38.8 kB / 3.515 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/7.356, allocations: 87.55 kB / 3.515 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/7.356, allocations: 54.38 kB / 3.515 GB, free: 214.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006564/7.357, allocations: 397.8 kB / 3.516 GB, free: 214.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003109/7.36, allocations: 0.6511 MB / 3.516 GB, free: 214.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.002728/7.363, allocations: 1.794 MB / 3.518 GB, free: 214.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002881/7.366, allocations: 1.271 MB / 3.519 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/7.366, allocations: 0 / 3.519 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/7.367, allocations: 0.7133 MB / 3.52 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/7.37, allocations: 218 kB / 3.52 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/7.375, allocations: 1.903 MB / 3.522 GB, free: 213.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/7.376, allocations: 1.239 MB / 3.523 GB, free: 212.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/7.376, allocations: 3.188 kB / 3.523 GB, free: 212.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)