Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.6762/0.6762, allocations: 141.8 MB / 149.1 MB, free: 13.21 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 185.4 kB / 181.9 MB, free: 9.902 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 436 MB, free: 2.398 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009861, allocations: 95.34 kB / 0.507 GB, free: 11.12 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 277.3 kB / 0.5884 GB, free: 7.945 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.961e-06, allocations: 0 / 0.6759 GB, free: 14.32 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4223, allocations: 82.78 MB / 0.7567 GB, free: 139.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.53/3.953, allocations: 1.897 GB / 2.653 GB, free: 123.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/3.953, allocations: 84.77 kB / 2.654 GB, free: 123.3 MB / 0.6982 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.191/7.143, allocations: 1.035 GB / 3.689 GB, free: 85.44 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002044/7.144, allocations: 61.41 kB / 3.689 GB, free: 85.43 MB / 0.7138 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.008192/7.152, allocations: 2.633 MB / 3.691 GB, free: 84.35 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/7.152, allocations: 7.406 kB / 3.691 GB, free: 84.35 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/7.157, allocations: 0.7065 MB / 3.692 GB, free: 84.22 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/7.161, allocations: 1.62 MB / 3.693 GB, free: 83.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/7.161, allocations: 62.59 kB / 3.693 GB, free: 83.8 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005142/7.162, allocations: 111.2 kB / 3.694 GB, free: 83.8 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004312/7.166, allocations: 2.3 MB / 3.696 GB, free: 83.79 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/7.17, allocations: 2.062 MB / 3.698 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/7.17, allocations: 0 / 3.698 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/7.17, allocations: 2.906 kB / 3.698 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.607e-05/7.17, allocations: 94.61 kB / 3.698 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/7.181, allocations: 7.976 MB / 3.706 GB, free: 80.39 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/7.183, allocations: 2.197 MB / 3.708 GB, free: 80.27 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/7.185, allocations: 1.269 MB / 3.709 GB, free: 80.22 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/7.186, allocations: 1.562 MB / 3.711 GB, free: 78.53 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/7.186, allocations: 62.28 kB / 3.711 GB, free: 78.49 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=222): time 3.547e-06/7.186, allocations: 3.562 kB / 3.711 GB, free: 78.49 MB / 0.7138 GB Notification: Performance of matching and sorting (n=226): time 0.01104/7.197, allocations: 5.97 MB / 3.717 GB, free: 76.96 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/7.197, allocations: 160.3 kB / 3.717 GB, free: 76.8 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/7.198, allocations: 0.8662 MB / 3.718 GB, free: 76.66 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/7.198, allocations: 29.67 kB / 3.718 GB, free: 76.62 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/7.198, allocations: 0.5487 MB / 3.718 GB, free: 76.31 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/7.199, allocations: 0.7385 MB / 3.719 GB, free: 75.81 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/7.199, allocations: 0 / 3.719 GB, free: 75.81 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/7.199, allocations: 380.6 kB / 3.719 GB, free: 75.5 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/7.2, allocations: 0.8232 MB / 3.72 GB, free: 75.5 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/7.201, allocations: 1.089 MB / 3.721 GB, free: 75.27 MB / 0.7138 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.009883/7.211, allocations: 3.651 MB / 3.725 GB, free: 75.04 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/7.211, allocations: 0 / 3.725 GB, free: 75.04 MB / 0.7138 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003779/7.215, allocations: 2.38 MB / 3.727 GB, free: 74.65 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/7.215, allocations: 3.5 kB / 3.727 GB, free: 74.65 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/7.215, allocations: 7.219 kB / 3.727 GB, free: 74.65 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/7.215, allocations: 14.62 kB / 3.727 GB, free: 74.65 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/7.217, allocations: 426.2 kB / 3.727 GB, free: 74.61 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/7.217, allocations: 21.25 kB / 3.727 GB, free: 74.61 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/7.219, allocations: 111.6 kB / 3.727 GB, free: 74.59 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/7.219, allocations: 72.25 kB / 3.728 GB, free: 74.57 MB / 0.7138 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.0003122/7.219, allocations: 152.4 kB / 3.728 GB, free: 74.43 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/7.22, allocations: 182.1 kB / 3.728 GB, free: 74.34 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/7.224, allocations: 2.519 MB / 3.73 GB, free: 73.5 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/7.224, allocations: 28.61 kB / 3.73 GB, free: 73.5 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/7.224, allocations: 0 / 3.73 GB, free: 73.5 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/7.227, allocations: 2.115 MB / 3.732 GB, free: 72.77 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009356/7.237, allocations: 5.137 MB / 3.737 GB, free: 70.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/7.237, allocations: 6.062 kB / 3.737 GB, free: 70.7 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/7.239, allocations: 473.4 kB / 3.738 GB, free: 70.45 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/7.239, allocations: 16 kB / 3.738 GB, free: 70.43 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/7.239, allocations: 25.81 kB / 3.738 GB, free: 70.41 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/7.239, allocations: 16 kB / 3.738 GB, free: 70.39 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/7.239, allocations: 11.94 kB / 3.738 GB, free: 70.38 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005278/7.244, allocations: 4.648 MB / 3.743 GB, free: 65.98 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/7.245, allocations: 0.4883 MB / 3.743 GB, free: 65.54 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/7.246, allocations: 11.56 kB / 3.743 GB, free: 65.53 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/7.247, allocations: 112 kB / 3.743 GB, free: 65.46 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/7.247, allocations: 134.1 kB / 3.743 GB, free: 65.38 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/7.248, allocations: 83.27 kB / 3.743 GB, free: 65.3 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0008473/7.248, allocations: 0.6682 MB / 3.744 GB, free: 64.7 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002262/7.251, allocations: 0.7858 MB / 3.745 GB, free: 63.93 MB / 0.7138 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.003157/7.254, allocations: 2.871 MB / 3.748 GB, free: 61.68 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002628/7.257, allocations: 2.096 MB / 3.75 GB, free: 59.73 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/7.257, allocations: 0 / 3.75 GB, free: 59.73 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/7.258, allocations: 1.135 MB / 3.751 GB, free: 58.7 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/7.262, allocations: 0.9243 MB / 3.752 GB, free: 58.06 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/7.268, allocations: 4.046 MB / 3.756 GB, free: 54.8 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/7.27, allocations: 1.9 MB / 3.757 GB, free: 53.25 MB / 0.7138 GB Notification: Performance of SimCode: time 6.01e-07/7.27, allocations: 0 / 3.757 GB, free: 53.25 MB / 0.7138 GB Notification: Performance of Templates: time 0.07211/7.342, allocations: 51.91 MB / 3.808 GB, free: 5.109 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)