Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 189.7 kB / 7.807 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.4709/0.4709, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.307/1.307, allocations: 221.4 MB / 342.8 MB, free: 5.172 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.001027/0.001027, allocations: 85.42 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.053e-06, allocations: 0 / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4256, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.755/4.181, allocations: 1.873 GB / 2.426 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/4.181, allocations: 87.95 kB / 2.426 GB, free: 188.4 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 2.212/6.393, allocations: 0.6673 GB / 3.093 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.775e-05/6.393, allocations: 15.97 kB / 3.093 GB, free: 83.84 MB / 0.6042 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.004343/6.397, allocations: 1.376 MB / 3.095 GB, free: 83.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/6.397, allocations: 7.281 kB / 3.095 GB, free: 83.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/6.398, allocations: 151.8 kB / 3.095 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/6.399, allocations: 0.5637 MB / 3.095 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/6.399, allocations: 23.09 kB / 3.095 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/6.399, allocations: 39.09 kB / 3.095 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009163/6.4, allocations: 0.5804 MB / 3.096 GB, free: 83.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/6.401, allocations: 0.7156 MB / 3.097 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/6.401, allocations: 2.625 kB / 3.097 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/6.401, allocations: 7.547 kB / 3.097 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/6.401, allocations: 43.33 kB / 3.097 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/6.406, allocations: 4.492 MB / 3.101 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008652/6.407, allocations: 419 kB / 3.102 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/6.407, allocations: 169.8 kB / 3.102 GB, free: 79.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/6.407, allocations: 0.772 MB / 3.102 GB, free: 78.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/6.407, allocations: 34.27 kB / 3.103 GB, free: 78.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.826e-06/6.407, allocations: 0 / 3.103 GB, free: 78.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0008813/6.408, allocations: 410.3 kB / 3.103 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/6.408, allocations: 56.91 kB / 3.103 GB, free: 78.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/6.409, allocations: 497.9 kB / 3.103 GB, free: 78.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/6.409, allocations: 25.7 kB / 3.103 GB, free: 78.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/6.409, allocations: 336.2 kB / 3.104 GB, free: 78.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/6.409, allocations: 134.6 kB / 3.104 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/6.409, allocations: 0 / 3.104 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/6.409, allocations: 363.5 kB / 3.104 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/6.41, allocations: 162.6 kB / 3.104 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/6.41, allocations: 315.6 kB / 3.105 GB, free: 77.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/6.41, allocations: 216.9 kB / 3.105 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.41, allocations: 3.281 kB / 3.105 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007974/6.411, allocations: 0.5346 MB / 3.105 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/6.411, allocations: 3.156 kB / 3.105 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/6.411, allocations: 6.5 kB / 3.105 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/6.411, allocations: 9.125 kB / 3.105 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/6.412, allocations: 105.1 kB / 3.106 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/6.412, allocations: 7.781 kB / 3.106 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/6.412, allocations: 75.94 kB / 3.106 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/6.412, allocations: 22.03 kB / 3.106 GB, free: 77.81 MB / 0.6042 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 0.000102/6.413, allocations: 119.8 kB / 3.106 GB, free: 77.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/6.413, allocations: 58.84 kB / 3.106 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/6.413, allocations: 494.5 kB / 3.106 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/6.413, allocations: 6.156 kB / 3.106 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/6.413, allocations: 0 / 3.106 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/6.413, allocations: 0 / 3.106 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/6.416, allocations: 1.939 MB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/6.416, allocations: 8.906 kB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/6.417, allocations: 92.5 kB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/6.417, allocations: 13.78 kB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/6.417, allocations: 11.41 kB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/6.417, allocations: 13.5 kB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/6.417, allocations: 16.84 kB / 3.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001126/6.418, allocations: 1.281 MB / 3.11 GB, free: 75.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/6.418, allocations: 197.1 kB / 3.11 GB, free: 75.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/6.418, allocations: 10.97 kB / 3.11 GB, free: 75.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/6.419, allocations: 44.08 kB / 3.11 GB, free: 75.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/6.419, allocations: 53.38 kB / 3.11 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/6.419, allocations: 20.34 kB / 3.11 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003817/6.419, allocations: 390.9 kB / 3.11 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001319/6.421, allocations: 403 kB / 3.111 GB, free: 75.73 MB / 0.6042 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.002755/6.423, allocations: 2.318 MB / 3.113 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006981/6.424, allocations: 403.5 kB / 3.113 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/6.424, allocations: 0 / 3.113 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/6.425, allocations: 223 kB / 3.114 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/6.426, allocations: 219.1 kB / 3.114 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/6.428, allocations: 1.135 MB / 3.115 GB, free: 74.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/6.429, allocations: 1.095 MB / 3.116 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/6.429, allocations: 0 / 3.116 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.03123/6.46, allocations: 21.59 MB / 3.137 GB, free: 73.52 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)