Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") [: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.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.0009682/0.0009683, allocations: 181.3 kB / 366.3 MB, free: 1.938 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.079/1.079, allocations: 205.1 MB / 0.6256 GB, free: 7.492 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.0007795/0.0007796, allocations: 88.39 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.881e-06, allocations: 0 / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4767, allocations: 116.3 MB / 0.9725 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.256/3.733, allocations: 2.078 GB / 3.05 GB, free: 56.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/3.733, allocations: 83.95 kB / 3.05 GB, free: 56.03 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.526/5.259, allocations: 454.3 MB / 3.494 GB, free: 222.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.36e-05/5.259, allocations: 21.88 kB / 3.494 GB, free: 222.9 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003724/5.263, allocations: 1.529 MB / 3.495 GB, free: 222.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/5.263, allocations: 11.22 kB / 3.495 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/5.263, allocations: 158.7 kB / 3.496 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/5.265, allocations: 0.6438 MB / 3.496 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/5.265, allocations: 29.94 kB / 3.496 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/5.265, allocations: 48.34 kB / 3.496 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001846/5.267, allocations: 1.319 MB / 3.498 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/5.268, allocations: 1.064 MB / 3.499 GB, free: 222.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/5.268, allocations: 2.953 kB / 3.499 GB, free: 222.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/5.268, allocations: 6.812 kB / 3.499 GB, free: 222.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/5.268, allocations: 51.17 kB / 3.499 GB, free: 222.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/5.273, allocations: 3.483 MB / 3.502 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/5.274, allocations: 1.296 MB / 3.503 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/5.275, allocations: 0.6885 MB / 3.504 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/5.276, allocations: 0.965 MB / 3.505 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/5.276, allocations: 0.6786 MB / 3.506 GB, free: 219.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=123): time 3.056e-06/5.276, allocations: 0 / 3.506 GB, free: 219.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=123): time 0.002448/5.279, allocations: 1.39 MB / 3.507 GB, free: 219.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/5.279, allocations: 92.27 kB / 3.507 GB, free: 219.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/5.279, allocations: 0.5269 MB / 3.508 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/5.279, allocations: 25.7 kB / 3.508 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/5.279, allocations: 299.6 kB / 3.508 GB, free: 219.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/5.28, allocations: 402 kB / 3.508 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/5.28, allocations: 0 / 3.508 GB, free: 218.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/5.28, allocations: 396.1 kB / 3.509 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/5.28, allocations: 0.5087 MB / 3.509 GB, free: 218.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/5.281, allocations: 0.6904 MB / 3.51 GB, free: 218.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/5.283, allocations: 0.7548 MB / 3.511 GB, free: 218.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/5.283, allocations: 0 / 3.511 GB, free: 218.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002303/5.285, allocations: 1.518 MB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/5.285, allocations: 6.953 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/5.285, allocations: 3.688 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/5.285, allocations: 11.5 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/5.286, allocations: 225.4 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/5.286, allocations: 13.48 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/5.287, allocations: 90.81 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/5.287, allocations: 53.7 kB / 3.512 GB, free: 218.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0001875/5.287, allocations: 166.5 kB / 3.513 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/5.287, allocations: 86.28 kB / 3.513 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/5.29, allocations: 1.612 MB / 3.514 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/5.29, allocations: 10.12 kB / 3.514 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/5.29, allocations: 3.156 kB / 3.514 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/5.29, allocations: 11.33 kB / 3.514 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/5.295, allocations: 3.226 MB / 3.517 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/5.295, allocations: 3.875 kB / 3.517 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/5.295, allocations: 207.8 kB / 3.518 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/5.296, allocations: 11.69 kB / 3.518 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/5.296, allocations: 25.16 kB / 3.518 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/5.296, allocations: 18.42 kB / 3.518 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/5.296, allocations: 10.53 kB / 3.518 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003419/5.299, allocations: 2.829 MB / 3.52 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/5.3, allocations: 324 kB / 3.521 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/5.3, allocations: 13.83 kB / 3.521 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/5.3, allocations: 41.03 kB / 3.521 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/5.301, allocations: 79.62 kB / 3.521 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/5.301, allocations: 53.77 kB / 3.521 GB, free: 216.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004069/5.301, allocations: 413.8 kB / 3.521 GB, free: 216.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001355/5.302, allocations: 465.6 kB / 3.522 GB, free: 216.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.001922/5.304, allocations: 1.797 MB / 3.524 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001426/5.306, allocations: 1.252 MB / 3.525 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/5.306, allocations: 1.094 kB / 3.525 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/5.306, allocations: 0.6893 MB / 3.525 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/5.308, allocations: 203.6 kB / 3.526 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/5.31, allocations: 1.868 MB / 3.527 GB, free: 215.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/5.311, allocations: 1.236 MB / 3.529 GB, free: 214.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.4e-07/5.311, allocations: 0 / 3.529 GB, free: 214.6 MB / 0.948 GB Notification: Performance of Templates: time 0.03286/5.344, allocations: 23.85 MB / 3.552 GB, free: 214.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)