Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009545/0.0009545, allocations: 179.2 kB / 361.1 MB, free: 7.121 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.018/1.018, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007563/0.0007564, allocations: 90.06 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.414e-06, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4081, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.144/3.552, allocations: 2.073 GB / 3.037 GB, free: 335.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/3.553, allocations: 82.33 kB / 3.037 GB, free: 335.6 MB / 0.9323 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.511/5.064, allocations: 0.6571 GB / 3.694 GB, free: 39.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.185e-05/5.064, allocations: 23.94 kB / 3.694 GB, free: 39.56 MB / 0.9323 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.003898/5.068, allocations: 1.375 MB / 3.695 GB, free: 38.13 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/5.068, allocations: 8.031 kB / 3.695 GB, free: 38.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/5.068, allocations: 154.7 kB / 3.696 GB, free: 37.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/5.07, allocations: 0.5628 MB / 3.696 GB, free: 37.37 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/5.07, allocations: 24 kB / 3.696 GB, free: 37.35 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/5.07, allocations: 40 kB / 3.696 GB, free: 37.31 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001077/5.071, allocations: 0.578 MB / 3.697 GB, free: 36.73 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/5.072, allocations: 0.723 MB / 3.697 GB, free: 35.98 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/5.072, allocations: 0 / 3.697 GB, free: 35.98 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/5.072, allocations: 7.984 kB / 3.697 GB, free: 35.98 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/5.072, allocations: 41.98 kB / 3.698 GB, free: 35.93 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/5.078, allocations: 4.494 MB / 3.702 GB, free: 30.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/5.079, allocations: 427.5 kB / 3.702 GB, free: 30.48 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/5.079, allocations: 169.5 kB / 3.702 GB, free: 30.31 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004989/5.079, allocations: 0.76 MB / 3.703 GB, free: 29.38 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/5.08, allocations: 34.89 kB / 3.703 GB, free: 29.34 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=40): time 3.337e-06/5.08, allocations: 4 kB / 3.703 GB, free: 29.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.0008744/5.08, allocations: 410.9 kB / 3.704 GB, free: 28.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/5.08, allocations: 63.41 kB / 3.704 GB, free: 28.86 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/5.081, allocations: 490.1 kB / 3.704 GB, free: 28.37 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/5.081, allocations: 25.7 kB / 3.704 GB, free: 28.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/5.081, allocations: 335.2 kB / 3.705 GB, free: 28 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/5.081, allocations: 134 kB / 3.705 GB, free: 27.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/5.081, allocations: 4 kB / 3.705 GB, free: 27.87 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/5.081, allocations: 370.8 kB / 3.705 GB, free: 27.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/5.081, allocations: 160.9 kB / 3.705 GB, free: 27.34 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/5.082, allocations: 308.2 kB / 3.705 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/5.082, allocations: 216.2 kB / 3.706 GB, free: 26.77 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/5.082, allocations: 4 kB / 3.706 GB, free: 26.76 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007274/5.083, allocations: 0.5314 MB / 3.706 GB, free: 26.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/5.083, allocations: 4.938 kB / 3.706 GB, free: 26.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.083, allocations: 4 kB / 3.706 GB, free: 26.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/5.083, allocations: 11.98 kB / 3.706 GB, free: 26.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/5.083, allocations: 108.3 kB / 3.706 GB, free: 26.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/5.083, allocations: 8 kB / 3.706 GB, free: 26.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/5.084, allocations: 75.48 kB / 3.706 GB, free: 26.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/5.084, allocations: 23.98 kB / 3.706 GB, free: 25.99 MB / 0.9323 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 8.785e-05/5.084, allocations: 116.8 kB / 3.707 GB, free: 25.87 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/5.084, allocations: 59.25 kB / 3.707 GB, free: 25.81 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/5.085, allocations: 489.7 kB / 3.707 GB, free: 25.32 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/5.085, allocations: 11.91 kB / 3.707 GB, free: 25.31 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/5.085, allocations: 0 / 3.707 GB, free: 25.31 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/5.085, allocations: 3.984 kB / 3.707 GB, free: 25.31 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/5.087, allocations: 1.935 MB / 3.709 GB, free: 23.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/5.087, allocations: 7.984 kB / 3.709 GB, free: 23.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/5.088, allocations: 92.53 kB / 3.709 GB, free: 23.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/5.088, allocations: 12 kB / 3.709 GB, free: 23.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/5.088, allocations: 19.98 kB / 3.709 GB, free: 23.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/5.088, allocations: 8 kB / 3.709 GB, free: 23.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/5.088, allocations: 11.94 kB / 3.709 GB, free: 23.05 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009102/5.089, allocations: 1.285 MB / 3.71 GB, free: 21.46 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/5.089, allocations: 188.2 kB / 3.711 GB, free: 21.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/5.089, allocations: 15.98 kB / 3.711 GB, free: 21.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005541/5.09, allocations: 47.97 kB / 3.711 GB, free: 21.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/5.09, allocations: 47.8 kB / 3.711 GB, free: 21.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/5.09, allocations: 20.12 kB / 3.711 GB, free: 21.13 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003373/5.09, allocations: 394.9 kB / 3.711 GB, free: 20.75 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001119/5.091, allocations: 403.2 kB / 3.711 GB, free: 20.35 MB / 0.9323 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.002172/5.094, allocations: 2.32 MB / 3.714 GB, free: 17.92 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005475/5.094, allocations: 406.9 kB / 3.714 GB, free: 17.53 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/5.094, allocations: 7.938 kB / 3.714 GB, free: 17.52 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/5.094, allocations: 209.8 kB / 3.714 GB, free: 17.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/5.095, allocations: 218.2 kB / 3.714 GB, free: 17.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/5.097, allocations: 1.147 MB / 3.716 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/5.098, allocations: 1.105 MB / 3.717 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of SimCode: time 3.91e-07/5.098, allocations: 0 / 3.717 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of Templates: time 0.02989/5.128, allocations: 21.57 MB / 3.738 GB, free: 9.234 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)