Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 186.6 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4549/0.4549, allocations: 90.84 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 88.31 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1784/0.1796, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.5953, allocations: 72.3 MB / 0.553 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.62/4.215, allocations: 1.876 GB / 2.429 GB, free: 202 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/4.216, allocations: 85.55 kB / 2.429 GB, free: 201.9 MB / 0.6042 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.285/5.5, allocations: 462.8 MB / 2.881 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/5.5, allocations: 12.88 kB / 2.881 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000599/5.501, allocations: 162.1 kB / 2.881 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/5.502, allocations: 0.6381 MB / 2.881 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/5.502, allocations: 27.88 kB / 2.882 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/5.502, allocations: 59.28 kB / 2.882 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001765/5.504, allocations: 1.321 MB / 2.883 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/5.505, allocations: 1.063 MB / 2.884 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/5.505, allocations: 0 / 2.884 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/5.506, allocations: 2.812 kB / 2.884 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/5.506, allocations: 50.09 kB / 2.884 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/5.51, allocations: 3.227 MB / 2.887 GB, free: 113 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/5.511, allocations: 1.344 MB / 2.888 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/5.512, allocations: 0.7069 MB / 2.889 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/5.513, allocations: 1.544 MB / 2.891 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008165/5.514, allocations: 0.7118 MB / 2.891 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=127): time 3.036e-06/5.514, allocations: 0 / 2.891 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127): time 0.002716/5.517, allocations: 1.43 MB / 2.893 GB, free: 111 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/5.517, allocations: 93.61 kB / 2.893 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/5.517, allocations: 0.494 MB / 2.893 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/5.518, allocations: 25.7 kB / 2.893 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/5.518, allocations: 284.6 kB / 2.894 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/5.518, allocations: 409.4 kB / 2.894 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/5.518, allocations: 0 / 2.894 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/5.518, allocations: 397.8 kB / 2.894 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/5.519, allocations: 0.5166 MB / 2.895 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/5.519, allocations: 0.6714 MB / 2.896 GB, free: 110 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/5.521, allocations: 0.757 MB / 2.896 GB, free: 110 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/5.521, allocations: 7.781 kB / 2.896 GB, free: 110 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002518/5.523, allocations: 1.517 MB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/5.523, allocations: 7.5 kB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/5.523, allocations: 6.5 kB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/5.523, allocations: 7.875 kB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/5.524, allocations: 218.1 kB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/5.524, allocations: 14.44 kB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/5.525, allocations: 95.64 kB / 2.898 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/5.525, allocations: 52.91 kB / 2.898 GB, free: 109.9 MB / 0.6042 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.0002013/5.526, allocations: 162.6 kB / 2.898 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/5.526, allocations: 86.75 kB / 2.898 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/5.529, allocations: 1.66 MB / 2.9 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/5.529, allocations: 9.75 kB / 2.9 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/5.529, allocations: 3.906 kB / 2.9 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/5.529, allocations: 10.89 kB / 2.9 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/5.534, allocations: 3.597 MB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/5.534, allocations: 11.09 kB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/5.535, allocations: 206.9 kB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/5.535, allocations: 11.81 kB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.082e-05/5.535, allocations: 30.81 kB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/5.535, allocations: 20.38 kB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/5.535, allocations: 7.188 kB / 2.904 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00365/5.539, allocations: 2.987 MB / 2.907 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004686/5.544, allocations: 4.34 MB / 2.911 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/5.544, allocations: 329.4 kB / 2.911 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/5.545, allocations: 14.38 kB / 2.911 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/5.545, allocations: 43.16 kB / 2.911 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/5.546, allocations: 87.33 kB / 2.911 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/5.546, allocations: 59.38 kB / 2.911 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004097/5.546, allocations: 391.2 kB / 2.912 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00212/5.548, allocations: 0.6486 MB / 2.912 GB, free: 106.3 MB / 0.6042 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.001951/5.55, allocations: 1.8 MB / 2.914 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001615/5.552, allocations: 1.267 MB / 2.915 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/5.552, allocations: 6.312 kB / 2.915 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/5.553, allocations: 0.7109 MB / 2.916 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/5.554, allocations: 209.4 kB / 2.916 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/5.557, allocations: 1.898 MB / 2.918 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009118/5.558, allocations: 1.237 MB / 2.919 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/5.558, allocations: 3.312 kB / 2.919 GB, free: 104.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)