Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.001131, allocations: 188 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4534/0.4534, allocations: 90.85 MB / 99.08 MB, free: 14.93 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.309/1.309, allocations: 221.4 MB / 342.8 MB, free: 5.191 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.0009711/0.0009711, allocations: 92.33 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1744/0.1754, allocations: 78.45 MB / 494 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.5933, allocations: 72.3 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.302, allocations: 1.876 GB / 2.429 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/4.302, allocations: 85.08 kB / 2.429 GB, free: 201.8 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.286/5.589, allocations: 462.8 MB / 2.881 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/5.589, allocations: 11.59 kB / 2.881 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/5.589, allocations: 169 kB / 2.881 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/5.591, allocations: 0.6374 MB / 2.881 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/5.591, allocations: 28.22 kB / 2.881 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/5.591, allocations: 51.53 kB / 2.882 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002073/5.593, allocations: 1.323 MB / 2.883 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/5.595, allocations: 1.061 MB / 2.884 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/5.595, allocations: 2.062 kB / 2.884 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/5.595, allocations: 3.844 kB / 2.884 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/5.595, allocations: 52.38 kB / 2.884 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/5.601, allocations: 3.497 MB / 2.887 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/5.603, allocations: 1.299 MB / 2.889 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/5.603, allocations: 0.6848 MB / 2.889 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/5.604, allocations: 0.9591 MB / 2.89 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008513/5.605, allocations: 0.6817 MB / 2.891 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=123): time 3.486e-06/5.605, allocations: 0 / 2.891 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=123): time 0.002852/5.608, allocations: 1.39 MB / 2.892 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/5.608, allocations: 99.59 kB / 2.892 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/5.609, allocations: 0.5117 MB / 2.893 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/5.609, allocations: 32.45 kB / 2.893 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/5.609, allocations: 297.8 kB / 2.893 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/5.609, allocations: 406.3 kB / 2.894 GB, free: 111 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/5.609, allocations: 3.469 kB / 2.894 GB, free: 111 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001178/5.609, allocations: 395.5 kB / 2.894 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/5.61, allocations: 0.5045 MB / 2.894 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/5.611, allocations: 0.6919 MB / 2.895 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/5.612, allocations: 0.76 MB / 2.896 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/5.612, allocations: 0 / 2.896 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002645/5.615, allocations: 1.509 MB / 2.897 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/5.615, allocations: 6.844 kB / 2.897 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/5.615, allocations: 2.594 kB / 2.897 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/5.615, allocations: 15.16 kB / 2.897 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/5.616, allocations: 228.3 kB / 2.898 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/5.616, allocations: 10.16 kB / 2.898 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/5.617, allocations: 100.1 kB / 2.898 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/5.617, allocations: 51.5 kB / 2.898 GB, free: 110.4 MB / 0.6042 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.0001939/5.617, allocations: 159 kB / 2.898 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/5.617, allocations: 87.84 kB / 2.898 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/5.62, allocations: 1.616 MB / 2.899 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/5.62, allocations: 11.62 kB / 2.9 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/5.62, allocations: 0 / 2.9 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/5.62, allocations: 3.938 kB / 2.9 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/5.625, allocations: 3.227 MB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/5.625, allocations: 7.594 kB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/5.626, allocations: 207.5 kB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/5.626, allocations: 14.69 kB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.278e-05/5.626, allocations: 16.36 kB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/5.626, allocations: 17.97 kB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/5.626, allocations: 7.469 kB / 2.903 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003391/5.63, allocations: 2.835 MB / 2.906 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004666/5.634, allocations: 4.144 MB / 2.91 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006556/5.635, allocations: 330.8 kB / 2.91 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/5.635, allocations: 16.47 kB / 2.91 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/5.636, allocations: 29.48 kB / 2.91 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/5.636, allocations: 76.31 kB / 2.91 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/5.636, allocations: 55.19 kB / 2.91 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005002/5.637, allocations: 419.8 kB / 2.911 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002325/5.639, allocations: 0.6381 MB / 2.911 GB, free: 107.2 MB / 0.6042 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.002148/5.641, allocations: 1.804 MB / 2.913 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001644/5.643, allocations: 1.248 MB / 2.914 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/5.643, allocations: 0 / 2.914 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/5.644, allocations: 0.6887 MB / 2.915 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/5.645, allocations: 205.1 kB / 2.915 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/5.648, allocations: 1.861 MB / 2.917 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009743/5.649, allocations: 1.237 MB / 2.918 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/5.649, allocations: 0 / 2.918 GB, free: 105.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)