Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.846/1.846, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009718/0.0009718, allocations: 194.2 kB / 490.8 MB, free: 1.984 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.181/1.181, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.0008433, allocations: 88.62 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4441/0.4449, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.6455, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.066/3.712, allocations: 1.923 GB / 3.135 GB, free: 414.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001624/3.712, allocations: 79.95 kB / 3.135 GB, free: 414.5 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 1.163/4.875, allocations: 462.8 MB / 3.587 GB, free: 288.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/4.875, allocations: 11.62 kB / 3.587 GB, free: 288.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/4.876, allocations: 154.2 kB / 3.587 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/4.877, allocations: 0.6507 MB / 3.588 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/4.877, allocations: 26.19 kB / 3.588 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/4.877, allocations: 53.31 kB / 3.588 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002012/4.879, allocations: 1.314 MB / 3.589 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/4.881, allocations: 1.072 MB / 3.59 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/4.881, allocations: 0 / 3.59 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/4.881, allocations: 0 / 3.59 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/4.881, allocations: 50.08 kB / 3.59 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/4.886, allocations: 3.23 MB / 3.593 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/4.887, allocations: 1.338 MB / 3.594 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/4.888, allocations: 0.7164 MB / 3.595 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009774/4.889, allocations: 1.542 MB / 3.597 GB, free: 285.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/4.89, allocations: 0.7129 MB / 3.597 GB, free: 285.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 2.675e-06/4.89, allocations: 0 / 3.597 GB, free: 285.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.002589/4.892, allocations: 1.43 MB / 3.599 GB, free: 285.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/4.892, allocations: 89.2 kB / 3.599 GB, free: 285 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/4.893, allocations: 0.4986 MB / 3.599 GB, free: 284.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/4.893, allocations: 25.7 kB / 3.599 GB, free: 284.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/4.893, allocations: 285 kB / 3.6 GB, free: 284.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/4.893, allocations: 410 kB / 3.6 GB, free: 284.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/4.893, allocations: 0 / 3.6 GB, free: 284.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/4.893, allocations: 405.7 kB / 3.6 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/4.894, allocations: 0.5146 MB / 3.601 GB, free: 284.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/4.895, allocations: 0.6672 MB / 3.602 GB, free: 284 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/4.896, allocations: 0.7546 MB / 3.602 GB, free: 284 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/4.896, allocations: 0 / 3.602 GB, free: 284 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002362/4.898, allocations: 1.522 MB / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/4.898, allocations: 9.688 kB / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/4.898, allocations: 0 / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/4.898, allocations: 12.28 kB / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/4.899, allocations: 226.1 kB / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/4.899, allocations: 14.41 kB / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/4.9, allocations: 90.34 kB / 3.604 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/4.9, allocations: 52.3 kB / 3.604 GB, free: 283.9 MB / 1.151 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.000199/4.9, allocations: 153.7 kB / 3.604 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/4.901, allocations: 98.91 kB / 3.604 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/4.903, allocations: 1.655 MB / 3.606 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/4.903, allocations: 10.47 kB / 3.606 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/4.903, allocations: 0 / 3.606 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/4.903, allocations: 14.56 kB / 3.606 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/4.909, allocations: 3.599 MB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/4.909, allocations: 8.969 kB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/4.909, allocations: 210 kB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/4.909, allocations: 14.16 kB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/4.91, allocations: 28.44 kB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/4.91, allocations: 14.73 kB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/4.91, allocations: 13.38 kB / 3.61 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003361/4.913, allocations: 2.993 MB / 3.613 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004362/4.917, allocations: 4.328 MB / 3.617 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/4.918, allocations: 322.9 kB / 3.617 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/4.918, allocations: 14.58 kB / 3.617 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/4.919, allocations: 46.86 kB / 3.617 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/4.919, allocations: 87.14 kB / 3.617 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/4.919, allocations: 54.19 kB / 3.618 GB, free: 280.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003824/4.919, allocations: 401.3 kB / 3.618 GB, free: 280.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002071/4.922, allocations: 0.6387 MB / 3.619 GB, free: 280.4 MB / 1.151 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.001855/4.923, allocations: 1.809 MB / 3.62 GB, free: 279.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001539/4.925, allocations: 1.271 MB / 3.622 GB, free: 279.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/4.925, allocations: 0 / 3.622 GB, free: 279.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/4.926, allocations: 0.7121 MB / 3.622 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/4.927, allocations: 217.5 kB / 3.622 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/4.929, allocations: 1.902 MB / 3.624 GB, free: 279.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/4.93, allocations: 1.242 MB / 3.626 GB, free: 278.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/4.93, allocations: 0 / 3.626 GB, free: 278.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)