Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",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.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0008691/0.0008691, allocations: 181.2 kB / 361.1 MB, free: 7.117 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.0007591/0.0007592, allocations: 90.55 kB / 0.7325 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1809/0.1817, allocations: 121.4 MB / 0.8511 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.6022, allocations: 115.3 MB / 0.9637 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.786/3.388, allocations: 2.077 GB / 3.04 GB, free: 30.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/3.389, allocations: 88.72 kB / 3.041 GB, free: 30.3 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 1.382/4.771, allocations: 455.8 MB / 3.486 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/4.771, allocations: 9.125 kB / 3.486 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/4.772, allocations: 161.9 kB / 3.486 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/4.773, allocations: 0.647 MB / 3.486 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/4.773, allocations: 28.16 kB / 3.486 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/4.773, allocations: 52.09 kB / 3.487 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001904/4.775, allocations: 1.32 MB / 3.488 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/4.777, allocations: 1.061 MB / 3.489 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/4.777, allocations: 3.906 kB / 3.489 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/4.777, allocations: 3.938 kB / 3.489 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/4.777, allocations: 51.84 kB / 3.489 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/4.783, allocations: 3.487 MB / 3.492 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/4.784, allocations: 1.297 MB / 3.494 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/4.785, allocations: 0.684 MB / 3.494 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/4.786, allocations: 0.9648 MB / 3.495 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000792/4.787, allocations: 0.6822 MB / 3.496 GB, free: 221.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=123): time 3.657e-06/4.787, allocations: 0 / 3.496 GB, free: 221.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=123): time 0.002553/4.789, allocations: 1.387 MB / 3.497 GB, free: 221.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/4.789, allocations: 99.95 kB / 3.497 GB, free: 221.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/4.79, allocations: 0.517 MB / 3.498 GB, free: 221.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/4.79, allocations: 32.92 kB / 3.498 GB, free: 221.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/4.79, allocations: 299.9 kB / 3.498 GB, free: 220.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/4.79, allocations: 401.8 kB / 3.499 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/4.79, allocations: 0 / 3.499 GB, free: 220.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/4.79, allocations: 393.5 kB / 3.499 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/4.791, allocations: 0.5103 MB / 3.499 GB, free: 220.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/4.792, allocations: 0.6918 MB / 3.5 GB, free: 220.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/4.793, allocations: 0.7491 MB / 3.501 GB, free: 220.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/4.793, allocations: 3.406 kB / 3.501 GB, free: 220.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002446/4.796, allocations: 1.517 MB / 3.502 GB, free: 220.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/4.796, allocations: 8.25 kB / 3.502 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/4.796, allocations: 3.906 kB / 3.502 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/4.796, allocations: 7.656 kB / 3.502 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/4.797, allocations: 226.8 kB / 3.503 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/4.797, allocations: 17.44 kB / 3.503 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/4.798, allocations: 88.56 kB / 3.503 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/4.798, allocations: 49.08 kB / 3.503 GB, free: 220.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0001908/4.798, allocations: 164.2 kB / 3.503 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/4.798, allocations: 88.53 kB / 3.503 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/4.801, allocations: 1.608 MB / 3.504 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/4.801, allocations: 15.59 kB / 3.504 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/4.801, allocations: 3.906 kB / 3.504 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/4.801, allocations: 4.844 kB / 3.504 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/4.805, allocations: 3.239 MB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/4.805, allocations: 3.938 kB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/4.806, allocations: 209.4 kB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.2e-05/4.806, allocations: 15.22 kB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/4.806, allocations: 20.95 kB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/4.806, allocations: 19.36 kB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/4.806, allocations: 9.219 kB / 3.508 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003204/4.81, allocations: 2.832 MB / 3.511 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004215/4.814, allocations: 4.136 MB / 3.515 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/4.814, allocations: 329 kB / 3.515 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/4.815, allocations: 11.62 kB / 3.515 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/4.815, allocations: 33.27 kB / 3.515 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/4.816, allocations: 79.09 kB / 3.515 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/4.816, allocations: 52.86 kB / 3.515 GB, free: 217.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004252/4.816, allocations: 420.7 kB / 3.516 GB, free: 217 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002195/4.818, allocations: 0.6393 MB / 3.516 GB, free: 216.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.001988/4.82, allocations: 1.811 MB / 3.518 GB, free: 216.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001463/4.822, allocations: 1.245 MB / 3.519 GB, free: 216.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/4.822, allocations: 3.406 kB / 3.519 GB, free: 216.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007144/4.822, allocations: 0.6797 MB / 3.52 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/4.824, allocations: 220.2 kB / 3.52 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/4.826, allocations: 1.856 MB / 3.522 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008871/4.827, allocations: 1.238 MB / 3.523 GB, free: 215.2 MB / 0.948 GB Notification: Performance of SimCode: time 3.3e-07/4.827, allocations: 0.5625 kB / 3.523 GB, free: 215.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)