Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.003742/0.003743, allocations: 177.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6858/0.6858, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.445/1.445, allocations: 221.3 MB / 395 MB, free: 10.09 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.0009961/0.0009961, allocations: 100.8 kB / 477.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4521/0.4532, allocations: 88.42 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.6407, allocations: 82.3 MB / 0.6333 GB, free: 13.85 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.929/5.57, allocations: 1.899 GB / 2.533 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/5.57, allocations: 83.95 kB / 2.533 GB, free: 62.51 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 4.342/9.912, allocations: 1.038 GB / 3.571 GB, free: 68.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/9.912, allocations: 8 kB / 3.571 GB, free: 68.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/9.918, allocations: 0.7092 MB / 3.571 GB, free: 67.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004394/9.922, allocations: 1.654 MB / 3.573 GB, free: 66.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/9.922, allocations: 60 kB / 3.573 GB, free: 66.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/9.923, allocations: 119.9 kB / 3.573 GB, free: 65.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004027/9.927, allocations: 2.292 MB / 3.575 GB, free: 63.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/9.93, allocations: 2.057 MB / 3.577 GB, free: 61.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/9.93, allocations: 3.938 kB / 3.577 GB, free: 61.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/9.93, allocations: 2.875 kB / 3.577 GB, free: 61.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.162e-05/9.93, allocations: 92.27 kB / 3.577 GB, free: 61.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/9.943, allocations: 8.002 MB / 3.585 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/9.946, allocations: 2.187 MB / 3.587 GB, free: 51.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/9.948, allocations: 1.279 MB / 3.589 GB, free: 49.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/9.949, allocations: 1.563 MB / 3.59 GB, free: 47.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/9.949, allocations: 68.52 kB / 3.59 GB, free: 47.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.607e-06/9.949, allocations: 0 / 3.59 GB, free: 47.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01407/9.963, allocations: 5.984 MB / 3.596 GB, free: 41.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/9.963, allocations: 158.4 kB / 3.596 GB, free: 41.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/9.965, allocations: 0.8849 MB / 3.597 GB, free: 40.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003463/9.965, allocations: 25.7 kB / 3.597 GB, free: 40.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/9.966, allocations: 0.5487 MB / 3.598 GB, free: 40.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008804/9.966, allocations: 0.7388 MB / 3.598 GB, free: 39.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/9.967, allocations: 0.6562 kB / 3.598 GB, free: 39.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001662/9.967, allocations: 385.9 kB / 3.599 GB, free: 38.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/9.968, allocations: 0.8201 MB / 3.6 GB, free: 38.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/9.969, allocations: 1.092 MB / 3.601 GB, free: 36.91 MB / 0.698 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.01153/9.981, allocations: 3.637 MB / 3.604 GB, free: 33.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/9.981, allocations: 0 / 3.604 GB, free: 33.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005006/9.986, allocations: 2.388 MB / 3.607 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/9.986, allocations: 4 kB / 3.607 GB, free: 30.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/9.986, allocations: 11.19 kB / 3.607 GB, free: 30.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/9.986, allocations: 12 kB / 3.607 GB, free: 30.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/9.988, allocations: 419.5 kB / 3.607 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/9.988, allocations: 23.92 kB / 3.607 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/9.991, allocations: 112.7 kB / 3.607 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/9.991, allocations: 75.58 kB / 3.607 GB, free: 30.3 MB / 0.698 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.0004657/9.991, allocations: 145.6 kB / 3.607 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/9.992, allocations: 185.8 kB / 3.607 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/9.997, allocations: 2.521 MB / 3.61 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/9.997, allocations: 24 kB / 3.61 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/9.997, allocations: 3.984 kB / 3.61 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003239/10, allocations: 2.116 MB / 3.612 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009628/10.01, allocations: 5.138 MB / 3.617 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/10.01, allocations: 8 kB / 3.617 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/10.01, allocations: 475.3 kB / 3.618 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-05/10.01, allocations: 12 kB / 3.618 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/10.01, allocations: 31.98 kB / 3.618 GB, free: 19.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.777e-05/10.01, allocations: 19.98 kB / 3.618 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/10.01, allocations: 11.78 kB / 3.618 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006206/10.02, allocations: 4.644 MB / 3.622 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008382/10.03, allocations: 6.616 MB / 3.629 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/10.03, allocations: 0.4908 MB / 3.629 GB, free: 7.418 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007889/10.03, allocations: 11.91 kB / 3.629 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/10.03, allocations: 107.7 kB / 3.629 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/10.03, allocations: 133.6 kB / 3.629 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/10.03, allocations: 79.97 kB / 3.629 GB, free: 7.094 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001479/10.03, allocations: 0.6805 MB / 3.63 GB, free: 6.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005478/10.04, allocations: 1.121 MB / 3.631 GB, free: 5.289 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1],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.005087/10.05, allocations: 2.851 MB / 3.634 GB, free: 2.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004777/10.05, allocations: 2.094 MB / 3.636 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/10.05, allocations: 4 kB / 3.636 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/10.05, allocations: 1.131 MB / 3.637 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007472/10.06, allocations: 0.9205 MB / 3.638 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/10.08, allocations: 4.089 MB / 3.642 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004004/10.08, allocations: 1.933 MB / 3.644 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/10.08, allocations: 0 / 3.644 GB, free: 8.332 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)