Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.391/1.391, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009862/0.0009862, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.157/1.157, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0007867/0.0007867, allocations: 85.88 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2321/0.2329, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.759, allocations: 116.3 MB / 0.9726 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.291/4.05, allocations: 2.078 GB / 3.05 GB, free: 50.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/4.05, allocations: 81.02 kB / 3.05 GB, free: 50.84 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.562/5.613, allocations: 455.8 MB / 3.496 GB, free: 223.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/5.613, allocations: 10.77 kB / 3.496 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005643/5.613, allocations: 159.7 kB / 3.496 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/5.614, allocations: 0.6422 MB / 3.496 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/5.614, allocations: 33.28 kB / 3.496 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/5.614, allocations: 48.84 kB / 3.496 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/5.616, allocations: 1.318 MB / 3.498 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/5.617, allocations: 1.065 MB / 3.499 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/5.618, allocations: 3.938 kB / 3.499 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/5.618, allocations: 3.906 kB / 3.499 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/5.618, allocations: 53.58 kB / 3.499 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004117/5.622, allocations: 3.216 MB / 3.502 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/5.623, allocations: 1.344 MB / 3.503 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/5.624, allocations: 0.711 MB / 3.504 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/5.625, allocations: 1.538 MB / 3.505 GB, free: 220 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007968/5.626, allocations: 0.7104 MB / 3.506 GB, free: 219.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=127): time 2.775e-06/5.626, allocations: 0 / 3.506 GB, free: 219.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=127): time 0.00266/5.629, allocations: 1.429 MB / 3.508 GB, free: 219.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/5.629, allocations: 96.14 kB / 3.508 GB, free: 219.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/5.629, allocations: 0.4893 MB / 3.508 GB, free: 219.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/5.629, allocations: 32.48 kB / 3.508 GB, free: 219.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/5.629, allocations: 289 kB / 3.508 GB, free: 219.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/5.63, allocations: 409.2 kB / 3.509 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/5.63, allocations: 3.688 kB / 3.509 GB, free: 219.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/5.63, allocations: 397.2 kB / 3.509 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/5.63, allocations: 0.5092 MB / 3.51 GB, free: 218.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/5.631, allocations: 0.6673 MB / 3.51 GB, free: 218.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/5.633, allocations: 0.7692 MB / 3.511 GB, free: 218.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/5.633, allocations: 0 / 3.511 GB, free: 218.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002384/5.635, allocations: 1.513 MB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/5.635, allocations: 7.469 kB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/5.635, allocations: 3.812 kB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/5.635, allocations: 7.781 kB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/5.636, allocations: 225.7 kB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/5.636, allocations: 7.281 kB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/5.637, allocations: 93.61 kB / 3.513 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/5.637, allocations: 51.2 kB / 3.513 GB, free: 218.6 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.0001947/5.637, allocations: 163.5 kB / 3.513 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/5.637, allocations: 95.62 kB / 3.513 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/5.64, allocations: 1.651 MB / 3.515 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/5.64, allocations: 14.77 kB / 3.515 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/5.64, allocations: 0 / 3.515 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/5.64, allocations: 8.938 kB / 3.515 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/5.646, allocations: 3.602 MB / 3.518 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/5.646, allocations: 3.906 kB / 3.518 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/5.647, allocations: 213.1 kB / 3.519 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/5.647, allocations: 14.66 kB / 3.519 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/5.647, allocations: 24.67 kB / 3.519 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/5.647, allocations: 14.94 kB / 3.519 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/5.647, allocations: 12.81 kB / 3.519 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003742/5.651, allocations: 2.998 MB / 3.522 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004652/5.655, allocations: 4.327 MB / 3.526 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/5.656, allocations: 332.4 kB / 3.526 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/5.656, allocations: 13.62 kB / 3.526 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/5.657, allocations: 41.28 kB / 3.526 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/5.657, allocations: 87.73 kB / 3.526 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/5.657, allocations: 56 kB / 3.526 GB, free: 215.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004207/5.658, allocations: 398 kB / 3.527 GB, free: 215.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002119/5.66, allocations: 0.6506 MB / 3.527 GB, free: 215.1 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.001903/5.662, allocations: 1.797 MB / 3.529 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001498/5.663, allocations: 1.275 MB / 3.53 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.663, allocations: 0 / 3.53 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/5.664, allocations: 0.7088 MB / 3.531 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/5.665, allocations: 223.8 kB / 3.531 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/5.668, allocations: 1.911 MB / 3.533 GB, free: 214 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/5.669, allocations: 1.247 MB / 3.534 GB, free: 213.3 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/5.669, allocations: 0 / 3.534 GB, free: 213.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)