Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.3/2.3, 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.00161/0.001609, allocations: 177.2 kB / 360.3 MB, free: 7.551 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.692/1.692, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001141/0.00114, allocations: 88.2 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2519/0.2531, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.8652, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.032/5.897, allocations: 2.077 GB / 3.039 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/5.898, allocations: 85.19 kB / 3.039 GB, free: 271.6 MB / 0.9323 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.942/7.84, allocations: 455.8 MB / 3.484 GB, free: 231.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/7.84, allocations: 11.62 kB / 3.484 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/7.841, allocations: 158.8 kB / 3.485 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/7.843, allocations: 0.6564 MB / 3.485 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/7.843, allocations: 26.44 kB / 3.485 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003889/7.844, allocations: 51.28 kB / 3.485 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004265/7.848, allocations: 1.325 MB / 3.487 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/7.852, allocations: 1.061 MB / 3.488 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/7.852, allocations: 3.938 kB / 3.488 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/7.852, allocations: 4.656 kB / 3.488 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.961e-05/7.852, allocations: 47.67 kB / 3.488 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/7.863, allocations: 3.486 MB / 3.491 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/7.867, allocations: 1.296 MB / 3.492 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/7.869, allocations: 0.6828 MB / 3.493 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/7.871, allocations: 0.9654 MB / 3.494 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002209/7.873, allocations: 0.6832 MB / 3.495 GB, free: 226.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=123): time 6.102e-06/7.873, allocations: 1.469 kB / 3.495 GB, free: 226.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=123): time 0.00581/7.879, allocations: 1.394 MB / 3.496 GB, free: 226.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/7.879, allocations: 91.05 kB / 3.496 GB, free: 226 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/7.88, allocations: 0.5171 MB / 3.497 GB, free: 225.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002903/7.88, allocations: 35.36 kB / 3.497 GB, free: 225.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/7.881, allocations: 297.8 kB / 3.497 GB, free: 225.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005461/7.881, allocations: 395.6 kB / 3.497 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/7.881, allocations: 1.469 kB / 3.497 GB, free: 225.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001862/7.881, allocations: 395.9 kB / 3.498 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/7.883, allocations: 0.5066 MB / 3.498 GB, free: 224.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/7.885, allocations: 0.6889 MB / 3.499 GB, free: 224.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/7.888, allocations: 0.7559 MB / 3.5 GB, free: 224.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/7.888, allocations: 5.125 kB / 3.5 GB, free: 224.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005546/7.894, allocations: 1.509 MB / 3.501 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/7.894, allocations: 6.5 kB / 3.501 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/7.894, allocations: 3.094 kB / 3.501 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/7.894, allocations: 10.34 kB / 3.501 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/7.896, allocations: 228.2 kB / 3.501 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/7.896, allocations: 13.27 kB / 3.501 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/7.898, allocations: 94.28 kB / 3.501 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/7.898, allocations: 52.5 kB / 3.501 GB, free: 223.7 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.0003492/7.898, allocations: 167.3 kB / 3.502 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/7.899, allocations: 86.09 kB / 3.502 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006273/7.905, allocations: 1.617 MB / 3.503 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/7.905, allocations: 15.03 kB / 3.503 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/7.905, allocations: 2.219 kB / 3.503 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/7.905, allocations: 6.094 kB / 3.503 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/7.915, allocations: 3.231 MB / 3.506 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/7.916, allocations: 12.06 kB / 3.506 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/7.917, allocations: 204.2 kB / 3.507 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-05/7.917, allocations: 12.17 kB / 3.507 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/7.918, allocations: 19.64 kB / 3.507 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/7.918, allocations: 12.06 kB / 3.507 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/7.918, allocations: 10.16 kB / 3.507 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006799/7.924, allocations: 2.835 MB / 3.51 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009831/7.934, allocations: 4.143 MB / 3.514 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/7.936, allocations: 326 kB / 3.514 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/7.936, allocations: 18.56 kB / 3.514 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/7.938, allocations: 25.97 kB / 3.514 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/7.938, allocations: 79.55 kB / 3.514 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/7.938, allocations: 57.36 kB / 3.514 GB, free: 217.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008592/7.939, allocations: 415.5 kB / 3.514 GB, free: 217.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003793/7.943, allocations: 0.6436 MB / 3.515 GB, free: 217.2 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.003247/7.946, allocations: 1.806 MB / 3.517 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00324/7.95, allocations: 1.243 MB / 3.518 GB, free: 216.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/7.95, allocations: 3.219 kB / 3.518 GB, free: 216.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/7.951, allocations: 0.6866 MB / 3.519 GB, free: 216.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/7.953, allocations: 210.3 kB / 3.519 GB, free: 216 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/7.959, allocations: 1.857 MB / 3.521 GB, free: 215 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/7.96, allocations: 1.239 MB / 3.522 GB, free: 214.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.774e-06/7.96, allocations: 0 / 3.522 GB, free: 214.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)