Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IDEAS_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.003724/0.003724, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7767/0.7767, allocations: 133.5 MB / 141.3 MB, free: 15.75 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.823/1.823, allocations: 221.3 MB / 395 MB, free: 10.2 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.00128/0.00128, allocations: 98.84 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6056/0.607, allocations: 88.43 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.8545, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.17/6.025, allocations: 1.898 GB / 2.531 GB, free: 63.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/6.025, allocations: 87.83 kB / 2.531 GB, free: 63.66 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.001/12.03, allocations: 1.673 GB / 4.204 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/12.03, allocations: 8 kB / 4.204 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/12.03, allocations: 0.8627 MB / 4.205 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/12.04, allocations: 1.743 MB / 4.207 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/12.04, allocations: 76 kB / 4.207 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005845/12.04, allocations: 151.9 kB / 4.207 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005356/12.05, allocations: 2.462 MB / 4.209 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/12.05, allocations: 2.715 MB / 4.212 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.121e-05/12.05, allocations: 11.92 kB / 4.212 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/12.05, allocations: 7.906 kB / 4.212 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/12.05, allocations: 116.7 kB / 4.212 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5965/12.65, allocations: 12.76 MB / 4.225 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/12.65, allocations: 1.857 MB / 4.227 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/12.65, allocations: 1.273 MB / 4.228 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/12.65, allocations: 1.377 MB / 4.229 GB, free: 111.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/12.65, allocations: 55.44 kB / 4.229 GB, free: 111.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 5.169e-06/12.65, allocations: 2.625 kB / 4.229 GB, free: 111.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.005579/12.66, allocations: 2.295 MB / 4.231 GB, free: 111.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/12.66, allocations: 75.38 kB / 4.231 GB, free: 111.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/12.66, allocations: 0.8709 MB / 4.232 GB, free: 111.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/12.66, allocations: 29.58 kB / 4.232 GB, free: 111.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/12.66, allocations: 0.7288 MB / 4.233 GB, free: 110.9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007761/12.66, allocations: 0.656 MB / 4.234 GB, free: 110.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/12.66, allocations: 0 / 4.234 GB, free: 110.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001695/12.66, allocations: 368 kB / 4.234 GB, free: 110.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/12.66, allocations: 0.8352 MB / 4.235 GB, free: 110.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/12.67, allocations: 1.065 MB / 4.236 GB, free: 110.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/12.67, allocations: 1.044 MB / 4.237 GB, free: 110.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/12.67, allocations: 0 / 4.237 GB, free: 110.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003889/12.67, allocations: 2.283 MB / 4.239 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/12.67, allocations: 3.812 kB / 4.239 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/12.67, allocations: 3.094 kB / 4.239 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/12.67, allocations: 9.656 kB / 4.239 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/12.67, allocations: 401.8 kB / 4.24 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/12.67, allocations: 13.22 kB / 4.24 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/12.68, allocations: 236.9 kB / 4.24 GB, free: 109.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/12.68, allocations: 68.66 kB / 4.24 GB, free: 109.9 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.0003933/12.68, allocations: 140.3 kB / 4.24 GB, free: 109.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/12.68, allocations: 177 kB / 4.24 GB, free: 109.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005359/12.68, allocations: 2.353 MB / 4.242 GB, free: 109.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/12.68, allocations: 23.19 kB / 4.242 GB, free: 109.6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/12.68, allocations: 0 / 4.242 GB, free: 109.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003812/12.69, allocations: 1.951 MB / 4.244 GB, free: 109.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/12.7, allocations: 5.035 MB / 4.249 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/12.7, allocations: 2.719 kB / 4.249 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/12.7, allocations: 461 kB / 4.25 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.195e-05/12.7, allocations: 7.281 kB / 4.25 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/12.7, allocations: 38.95 kB / 4.25 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-05/12.7, allocations: 8.219 kB / 4.25 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/12.7, allocations: 3.062 kB / 4.25 GB, free: 108.9 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007716/12.71, allocations: 3.889 MB / 4.254 GB, free: 108.3 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009029/12.72, allocations: 5.933 MB / 4.259 GB, free: 107.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/12.72, allocations: 0.503 MB / 4.26 GB, free: 107.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008139/12.72, allocations: 10.31 kB / 4.26 GB, free: 107.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/12.73, allocations: 180.4 kB / 4.26 GB, free: 107.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/12.73, allocations: 110.1 kB / 4.26 GB, free: 107.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/12.73, allocations: 73.5 kB / 4.26 GB, free: 107.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001657/12.73, allocations: 0.671 MB / 4.261 GB, free: 107.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006908/12.74, allocations: 1.629 MB / 4.262 GB, free: 107 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.008839/12.74, allocations: 4.62 MB / 4.267 GB, free: 105.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00494/12.75, allocations: 2.054 MB / 4.269 GB, free: 105.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/12.75, allocations: 3.719 kB / 4.269 GB, free: 105.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/12.75, allocations: 1.105 MB / 4.27 GB, free: 105.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00686/12.76, allocations: 0.9373 MB / 4.271 GB, free: 105.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/12.77, allocations: 4.554 MB / 4.275 GB, free: 104.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003823/12.78, allocations: 2.163 MB / 4.278 GB, free: 103.4 MB / 0.7448 GB Notification: Performance of SimCode: time 1.433e-06/12.78, allocations: 0 / 4.278 GB, free: 103.4 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)