Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.378/1.378, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 173.3 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 0.6256 GB, free: 7.449 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009015/0.0009014, allocations: 87.69 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.853e-06, allocations: 0 / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5458, allocations: 116.3 MB / 0.9725 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.02/3.566, allocations: 2.074 GB / 3.047 GB, free: 34.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/3.566, allocations: 80.61 kB / 3.047 GB, free: 34.58 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 1.733/5.299, allocations: 0.6571 GB / 3.704 GB, free: 104.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.069e-05/5.299, allocations: 24 kB / 3.704 GB, free: 104.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003465/5.302, allocations: 1.382 MB / 3.705 GB, free: 102.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/5.303, allocations: 8.031 kB / 3.705 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/5.303, allocations: 150.7 kB / 3.705 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/5.304, allocations: 0.5667 MB / 3.706 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/5.304, allocations: 20 kB / 3.706 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/5.304, allocations: 47.91 kB / 3.706 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008178/5.305, allocations: 0.5741 MB / 3.707 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/5.306, allocations: 0.723 MB / 3.707 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/5.306, allocations: 4 kB / 3.707 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/5.306, allocations: 0 / 3.707 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/5.306, allocations: 45.98 kB / 3.707 GB, free: 100.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/5.31, allocations: 4.49 MB / 3.712 GB, free: 95.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/5.311, allocations: 419.5 kB / 3.712 GB, free: 95.26 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/5.311, allocations: 169.5 kB / 3.712 GB, free: 95.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/5.311, allocations: 0.76 MB / 3.713 GB, free: 94.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/5.311, allocations: 46.83 kB / 3.713 GB, free: 94.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 1.834e-06/5.311, allocations: 0 / 3.713 GB, free: 94.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.0007596/5.312, allocations: 407 kB / 3.713 GB, free: 93.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/5.312, allocations: 55.41 kB / 3.714 GB, free: 93.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/5.312, allocations: 494.2 kB / 3.714 GB, free: 93.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/5.313, allocations: 29.64 kB / 3.714 GB, free: 93.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/5.313, allocations: 335.1 kB / 3.714 GB, free: 92.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/5.313, allocations: 134 kB / 3.714 GB, free: 92.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/5.313, allocations: 4 kB / 3.714 GB, free: 92.65 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/5.313, allocations: 366.8 kB / 3.715 GB, free: 92.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/5.313, allocations: 168.9 kB / 3.715 GB, free: 92.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/5.313, allocations: 312.2 kB / 3.715 GB, free: 91.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/5.314, allocations: 219.3 kB / 3.715 GB, free: 91.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/5.314, allocations: 0 / 3.715 GB, free: 91.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007125/5.314, allocations: 0.5237 MB / 3.716 GB, free: 91.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/5.314, allocations: 4 kB / 3.716 GB, free: 91.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/5.314, allocations: 11.92 kB / 3.716 GB, free: 91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/5.314, allocations: 11.91 kB / 3.716 GB, free: 90.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/5.315, allocations: 100.4 kB / 3.716 GB, free: 90.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/5.315, allocations: 15.94 kB / 3.716 GB, free: 90.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/5.315, allocations: 67.55 kB / 3.716 GB, free: 90.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/5.315, allocations: 27.98 kB / 3.716 GB, free: 90.78 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 9.58e-05/5.316, allocations: 120.8 kB / 3.716 GB, free: 90.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/5.316, allocations: 59.25 kB / 3.716 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/5.316, allocations: 481.7 kB / 3.717 GB, free: 90.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/5.316, allocations: 4 kB / 3.717 GB, free: 90.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/5.316, allocations: 0 / 3.717 GB, free: 90.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/5.316, allocations: 3.984 kB / 3.717 GB, free: 90.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/5.319, allocations: 1.945 MB / 3.719 GB, free: 87.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/5.319, allocations: 8 kB / 3.719 GB, free: 87.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/5.319, allocations: 92.56 kB / 3.719 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/5.319, allocations: 16 kB / 3.719 GB, free: 87.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/5.319, allocations: 11.98 kB / 3.719 GB, free: 87.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/5.319, allocations: 11.94 kB / 3.719 GB, free: 87.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/5.319, allocations: 11.94 kB / 3.719 GB, free: 87.84 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009007/5.32, allocations: 1.273 MB / 3.72 GB, free: 86.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/5.32, allocations: 196.2 kB / 3.72 GB, free: 86.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/5.32, allocations: 16.11 kB / 3.72 GB, free: 86.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005543/5.321, allocations: 51.92 kB / 3.72 GB, free: 85.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/5.321, allocations: 39.81 kB / 3.72 GB, free: 85.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/5.321, allocations: 24 kB / 3.72 GB, free: 85.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003278/5.321, allocations: 398.9 kB / 3.721 GB, free: 85.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001032/5.323, allocations: 403.2 kB / 3.721 GB, free: 85.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.002286/5.325, allocations: 2.314 MB / 3.723 GB, free: 82.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000519/5.325, allocations: 407 kB / 3.724 GB, free: 82.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/5.325, allocations: 0 / 3.724 GB, free: 82.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/5.326, allocations: 217.7 kB / 3.724 GB, free: 82.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/5.327, allocations: 222.5 kB / 3.724 GB, free: 81.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/5.328, allocations: 1.146 MB / 3.725 GB, free: 80.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005927/5.329, allocations: 1.101 MB / 3.726 GB, free: 79.49 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.329, allocations: 0 / 3.726 GB, free: 79.49 MB / 0.948 GB Notification: Performance of Templates: time 0.02688/5.356, allocations: 21.57 MB / 3.748 GB, free: 58.01 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)