Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam",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.002842/0.002842, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7794/0.7794, allocations: 133.5 MB / 141.4 MB, free: 15.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009907, allocations: 99.34 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3896/0.3907, allocations: 88.41 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.5714, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.657/5.229, allocations: 1.898 GB / 2.531 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/5.229, allocations: 87.95 kB / 2.531 GB, free: 65.08 MB / 0.6823 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 6.903/12.13, allocations: 1.673 GB / 4.204 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 8.677e-05/12.13, allocations: 12 kB / 4.204 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008274/12.14, allocations: 0.8627 MB / 4.205 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/12.15, allocations: 1.735 MB / 4.207 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/12.15, allocations: 80 kB / 4.207 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007057/12.15, allocations: 151.9 kB / 4.207 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005739/12.15, allocations: 2.458 MB / 4.209 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/12.16, allocations: 2.723 MB / 4.212 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-05/12.16, allocations: 0 / 4.212 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/12.16, allocations: 11.84 kB / 4.212 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/12.16, allocations: 120.7 kB / 4.212 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5411/12.7, allocations: 12.75 MB / 4.225 GB, free: 116.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/12.7, allocations: 1.861 MB / 4.227 GB, free: 116.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/12.71, allocations: 1.276 MB / 4.228 GB, free: 116.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/12.71, allocations: 1.375 MB / 4.229 GB, free: 115.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.178e-05/12.71, allocations: 62.69 kB / 4.229 GB, free: 115.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 5.31e-06/12.71, allocations: 0 / 4.229 GB, free: 115.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.00613/12.71, allocations: 2.289 MB / 4.231 GB, free: 115.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/12.71, allocations: 72.97 kB / 4.231 GB, free: 115 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/12.71, allocations: 0.8692 MB / 4.232 GB, free: 114.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/12.71, allocations: 28.83 kB / 4.232 GB, free: 114.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000552/12.72, allocations: 0.7368 MB / 4.233 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007203/12.72, allocations: 0.6467 MB / 4.234 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/12.72, allocations: 0 / 4.234 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001389/12.72, allocations: 378.2 kB / 4.234 GB, free: 113.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/12.72, allocations: 0.8274 MB / 4.235 GB, free: 113.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/12.72, allocations: 1.062 MB / 4.236 GB, free: 113.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/12.72, allocations: 1.045 MB / 4.237 GB, free: 113.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/12.72, allocations: 9.891 kB / 4.237 GB, free: 113.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004098/12.73, allocations: 2.276 MB / 4.239 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/12.73, allocations: 3.938 kB / 4.239 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/12.73, allocations: 3.875 kB / 4.239 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/12.73, allocations: 9.438 kB / 4.239 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/12.73, allocations: 396.5 kB / 4.24 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/12.73, allocations: 12.28 kB / 4.24 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/12.73, allocations: 238.2 kB / 4.24 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/12.73, allocations: 68.84 kB / 4.24 GB, free: 113.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * 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.0003802/12.73, allocations: 134.3 kB / 4.24 GB, free: 113.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/12.73, allocations: 184.5 kB / 4.24 GB, free: 113.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/12.74, allocations: 2.357 MB / 4.242 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/12.74, allocations: 17.59 kB / 4.242 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/12.74, allocations: 3.656 kB / 4.242 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002935/12.74, allocations: 1.947 MB / 4.244 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/12.75, allocations: 5.045 MB / 4.249 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/12.75, allocations: 1.438 kB / 4.249 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/12.75, allocations: 458.2 kB / 4.25 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/12.75, allocations: 13.69 kB / 4.25 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/12.75, allocations: 35.48 kB / 4.25 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/12.75, allocations: 19.17 kB / 4.25 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/12.75, allocations: 0 / 4.25 GB, free: 112.5 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005409/12.76, allocations: 3.894 MB / 4.254 GB, free: 111.9 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008306/12.77, allocations: 5.932 MB / 4.259 GB, free: 111 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/12.77, allocations: 0.4947 MB / 4.26 GB, free: 110.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009763/12.77, allocations: 19.53 kB / 4.26 GB, free: 110.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/12.77, allocations: 176.3 kB / 4.26 GB, free: 110.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/12.77, allocations: 108.4 kB / 4.26 GB, free: 110.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/12.77, allocations: 74.38 kB / 4.26 GB, free: 110.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001631/12.78, allocations: 0.668 MB / 4.261 GB, free: 110.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005834/12.78, allocations: 1.634 MB / 4.262 GB, free: 110.6 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * 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.006038/12.79, allocations: 4.618 MB / 4.267 GB, free: 108.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003422/12.79, allocations: 2.053 MB / 4.269 GB, free: 108.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/12.79, allocations: 3.281 kB / 4.269 GB, free: 108.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/12.79, allocations: 1.109 MB / 4.27 GB, free: 108.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/12.8, allocations: 0.9319 MB / 4.271 GB, free: 108.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/12.81, allocations: 4.546 MB / 4.275 GB, free: 107.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/12.81, allocations: 2.159 MB / 4.278 GB, free: 107 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/12.81, allocations: 0 / 4.278 GB, free: 107 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)