Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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: translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") [: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.001916/0.001916, allocations: 193.1 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4733/0.4733, allocations: 90.84 MB / 99.06 MB, free: 14.92 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.458/1.458, allocations: 221.4 MB / 342.8 MB, free: 5.121 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.001102/0.001102, allocations: 99.61 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.218e-06/9.258e-06, allocations: 0 / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 72.29 MB / 0.5529 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.634/4.058, allocations: 1.89 GB / 2.443 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/4.058, allocations: 89.84 kB / 2.443 GB, free: 171.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: Performance of FrontEnd: time 3.555/7.613, allocations: 1.042 GB / 3.485 GB, free: 37.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002824/7.614, allocations: 55.75 kB / 3.485 GB, free: 37.62 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01033/7.624, allocations: 2.652 MB / 3.487 GB, free: 34.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/7.624, allocations: 8.031 kB / 3.487 GB, free: 34.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/7.63, allocations: 0.7071 MB / 3.488 GB, free: 34.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/7.635, allocations: 1.659 MB / 3.49 GB, free: 32.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/7.635, allocations: 60 kB / 3.49 GB, free: 32.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008288/7.636, allocations: 116 kB / 3.49 GB, free: 32.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005065/7.641, allocations: 2.299 MB / 3.492 GB, free: 30.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/7.645, allocations: 2.059 MB / 3.494 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/7.645, allocations: 11.84 kB / 3.494 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/7.645, allocations: 7.844 kB / 3.494 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/7.645, allocations: 94.23 kB / 3.494 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/7.658, allocations: 8.396 MB / 3.502 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/7.66, allocations: 2.167 MB / 3.504 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/7.662, allocations: 1.279 MB / 3.506 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/7.663, allocations: 1.563 MB / 3.507 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/7.663, allocations: 68.44 kB / 3.507 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=222): time 4.207e-06/7.663, allocations: 0 / 3.507 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=226): time 0.0126/7.676, allocations: 5.98 MB / 3.513 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/7.676, allocations: 158.5 kB / 3.513 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/7.677, allocations: 0.8888 MB / 3.514 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/7.677, allocations: 25.7 kB / 3.514 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/7.677, allocations: 0.5489 MB / 3.515 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/7.678, allocations: 0.7272 MB / 3.515 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/7.678, allocations: 4 kB / 3.515 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001237/7.678, allocations: 381.9 kB / 3.516 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/7.679, allocations: 0.831 MB / 3.517 GB, free: 4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/7.681, allocations: 1.064 MB / 3.518 GB, free: 2.863 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/7.692, allocations: 3.683 MB / 3.521 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/7.692, allocations: 4 kB / 3.521 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005148/7.697, allocations: 2.384 MB / 3.524 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/7.697, allocations: 4 kB / 3.524 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/7.697, allocations: 4 kB / 3.524 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.986e-05/7.697, allocations: 19.66 kB / 3.524 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/7.699, allocations: 427.4 kB / 3.524 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-05/7.699, allocations: 15.91 kB / 3.524 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/7.702, allocations: 147.9 kB / 3.524 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/7.702, allocations: 75.98 kB / 3.524 GB, free: 12.07 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * 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.0004337/7.703, allocations: 147.3 kB / 3.524 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/7.703, allocations: 189.7 kB / 3.525 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/7.709, allocations: 2.526 MB / 3.527 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/7.709, allocations: 23.94 kB / 3.527 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/7.709, allocations: 4 kB / 3.527 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004395/7.714, allocations: 2.12 MB / 3.529 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/7.725, allocations: 5.139 MB / 3.534 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/7.725, allocations: 8 kB / 3.534 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/7.728, allocations: 459.4 kB / 3.535 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.668e-05/7.728, allocations: 16 kB / 3.535 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/7.728, allocations: 27.97 kB / 3.535 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/7.728, allocations: 19.94 kB / 3.535 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/7.728, allocations: 8 kB / 3.535 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3236/8.051, allocations: 4.438 MB / 3.539 GB, free: 122.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/8.053, allocations: 496.1 kB / 3.539 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/8.053, allocations: 16.78 kB / 3.539 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/8.055, allocations: 111.9 kB / 3.54 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/8.055, allocations: 134 kB / 3.54 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/8.055, allocations: 80.47 kB / 3.54 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0009515/8.056, allocations: 0.6726 MB / 3.54 GB, free: 122 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002453/8.059, allocations: 0.7943 MB / 3.541 GB, free: 122 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,dooDis.mExcBA,dooDis.mExcAB) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * 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.003271/8.062, allocations: 2.85 MB / 3.544 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00286/8.065, allocations: 2.101 MB / 3.546 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/8.065, allocations: 3.812 kB / 3.546 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/8.066, allocations: 1.126 MB / 3.547 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/8.071, allocations: 0.9264 MB / 3.548 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/8.078, allocations: 4.098 MB / 3.552 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/8.079, allocations: 1.902 MB / 3.554 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/8.079, allocations: 0 / 3.554 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.07637/8.156, allocations: 51.91 MB / 3.605 GB, free: 117.7 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)