Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.806/1.806, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001004/0.001004, allocations: 169.3 kB / 487 MB, free: 5.391 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.173/1.173, allocations: 221.3 MB / 0.7819 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008087/0.0008087, allocations: 90.12 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4714/0.4723, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.6934, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.469/4.162, allocations: 1.922 GB / 3.128 GB, free: 401.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/4.162, allocations: 87.83 kB / 3.128 GB, free: 401.6 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.171/5.334, allocations: 462.8 MB / 3.58 GB, free: 297.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/5.334, allocations: 7.562 kB / 3.58 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/5.334, allocations: 156.7 kB / 3.58 GB, free: 297.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/5.335, allocations: 0.6468 MB / 3.58 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/5.336, allocations: 34.14 kB / 3.58 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/5.336, allocations: 53.38 kB / 3.581 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001802/5.338, allocations: 1.326 MB / 3.582 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/5.339, allocations: 1.058 MB / 3.583 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/5.339, allocations: 3.906 kB / 3.583 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/5.339, allocations: 0 / 3.583 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/5.339, allocations: 53 kB / 3.583 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/5.344, allocations: 3.235 MB / 3.586 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/5.345, allocations: 1.33 MB / 3.587 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/5.346, allocations: 0.7195 MB / 3.588 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/5.347, allocations: 1.54 MB / 3.59 GB, free: 294.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000799/5.348, allocations: 0.7033 MB / 3.59 GB, free: 294.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 3.126e-06/5.348, allocations: 3.156 kB / 3.59 GB, free: 294.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.002647/5.35, allocations: 1.429 MB / 3.592 GB, free: 294.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/5.35, allocations: 93.58 kB / 3.592 GB, free: 294.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/5.351, allocations: 0.4967 MB / 3.592 GB, free: 294.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/5.351, allocations: 32.58 kB / 3.592 GB, free: 294.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/5.351, allocations: 290.3 kB / 3.593 GB, free: 294.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/5.351, allocations: 402.6 kB / 3.593 GB, free: 293.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/5.351, allocations: 0 / 3.593 GB, free: 293.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001023/5.352, allocations: 397.6 kB / 3.593 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/5.352, allocations: 0.5145 MB / 3.594 GB, free: 293.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/5.353, allocations: 0.6688 MB / 3.594 GB, free: 293.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/5.354, allocations: 0.7589 MB / 3.595 GB, free: 293.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/5.354, allocations: 3.719 kB / 3.595 GB, free: 293.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002438/5.357, allocations: 1.51 MB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/5.357, allocations: 7.812 kB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/5.357, allocations: 7.5 kB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/5.357, allocations: 7.25 kB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009129/5.358, allocations: 229.5 kB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/5.358, allocations: 6.156 kB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/5.359, allocations: 97.56 kB / 3.597 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/5.359, allocations: 49.19 kB / 3.597 GB, free: 293.3 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.0001976/5.359, allocations: 160.4 kB / 3.597 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/5.359, allocations: 93.25 kB / 3.597 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/5.362, allocations: 1.655 MB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/5.362, allocations: 12.66 kB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/5.362, allocations: 7.984 kB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/5.362, allocations: 6.609 kB / 3.599 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/5.368, allocations: 3.604 MB / 3.602 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/5.368, allocations: 11.19 kB / 3.602 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/5.368, allocations: 211.2 kB / 3.603 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/5.369, allocations: 14.81 kB / 3.603 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/5.369, allocations: 20.44 kB / 3.603 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/5.369, allocations: 18.34 kB / 3.603 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/5.369, allocations: 13.09 kB / 3.603 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003561/5.372, allocations: 2.989 MB / 3.606 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004567/5.377, allocations: 4.331 MB / 3.61 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/5.377, allocations: 326.5 kB / 3.61 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/5.378, allocations: 25.38 kB / 3.61 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/5.378, allocations: 39.17 kB / 3.61 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/5.379, allocations: 88.28 kB / 3.61 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/5.379, allocations: 52.44 kB / 3.61 GB, free: 289.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003918/5.379, allocations: 399.2 kB / 3.611 GB, free: 289.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00207/5.381, allocations: 0.643 MB / 3.611 GB, free: 289.8 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.001979/5.383, allocations: 1.804 MB / 3.613 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001485/5.385, allocations: 1.277 MB / 3.614 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/5.385, allocations: 0 / 3.614 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/5.385, allocations: 0.7061 MB / 3.615 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/5.386, allocations: 214 kB / 3.615 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/5.389, allocations: 1.902 MB / 3.617 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008552/5.39, allocations: 1.243 MB / 3.618 GB, free: 287.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/5.39, allocations: 0 / 3.618 GB, free: 287.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)