Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 185.2 kB / 7.805 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.4451/0.4451, allocations: 90.85 MB / 99.08 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.327/1.327, allocations: 221.4 MB / 342.8 MB, free: 5.191 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.0009956/0.0009957, allocations: 101.2 kB / 415.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.386e-06, allocations: 4 kB / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4614, allocations: 72.31 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.988/4.45, allocations: 1.876 GB / 2.429 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/4.45, allocations: 82.08 kB / 2.429 GB, free: 133.6 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 1.464/5.914, allocations: 461.2 MB / 2.879 GB, free: 125 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.18e-05/5.914, allocations: 19.78 kB / 2.879 GB, free: 125 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004243/5.919, allocations: 1.527 MB / 2.881 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/5.919, allocations: 10.59 kB / 2.881 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/5.919, allocations: 160.1 kB / 2.881 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/5.921, allocations: 0.647 MB / 2.881 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/5.921, allocations: 29.84 kB / 2.881 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/5.921, allocations: 51.97 kB / 2.881 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/5.923, allocations: 1.323 MB / 2.883 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/5.924, allocations: 1.065 MB / 2.884 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/5.924, allocations: 2.688 kB / 2.884 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/5.924, allocations: 3.812 kB / 2.884 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/5.924, allocations: 46.86 kB / 2.884 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004828/5.929, allocations: 3.497 MB / 2.887 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/5.931, allocations: 1.295 MB / 2.889 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/5.932, allocations: 0.6884 MB / 2.889 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007692/5.932, allocations: 0.9631 MB / 2.89 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008297/5.933, allocations: 0.6846 MB / 2.891 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=123): time 3.166e-06/5.933, allocations: 0 / 2.891 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=123): time 0.002703/5.936, allocations: 1.388 MB / 2.892 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/5.936, allocations: 94.2 kB / 2.892 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/5.937, allocations: 0.5202 MB / 2.893 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/5.937, allocations: 25.7 kB / 2.893 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/5.937, allocations: 301.2 kB / 2.893 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/5.937, allocations: 400.3 kB / 2.893 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/5.937, allocations: 3.938 kB / 2.893 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001107/5.937, allocations: 394.9 kB / 2.894 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/5.938, allocations: 0.5103 MB / 2.894 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/5.939, allocations: 0.6981 MB / 2.895 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/5.94, allocations: 0.7507 MB / 2.896 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/5.94, allocations: 7.219 kB / 2.896 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002837/5.943, allocations: 1.509 MB / 2.897 GB, free: 120 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/5.943, allocations: 3.25 kB / 2.897 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/5.943, allocations: 12.58 kB / 2.897 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/5.943, allocations: 6.844 kB / 2.897 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/5.944, allocations: 225.4 kB / 2.897 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/5.944, allocations: 12.55 kB / 2.897 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/5.945, allocations: 88.89 kB / 2.898 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/5.945, allocations: 53.44 kB / 2.898 GB, free: 120 MB / 0.6042 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.0002254/5.946, allocations: 166.5 kB / 2.898 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/5.946, allocations: 86.06 kB / 2.898 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/5.949, allocations: 1.612 MB / 2.899 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/5.949, allocations: 14.69 kB / 2.899 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/5.949, allocations: 0 / 2.899 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/5.949, allocations: 9.484 kB / 2.899 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005087/5.954, allocations: 3.224 MB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/5.954, allocations: 7.688 kB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/5.955, allocations: 208.9 kB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/5.955, allocations: 11.31 kB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/5.955, allocations: 25.95 kB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/5.955, allocations: 13.88 kB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/5.955, allocations: 3.312 kB / 2.903 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004158/5.959, allocations: 2.833 MB / 2.906 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008143/5.96, allocations: 334 kB / 2.906 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/5.96, allocations: 9.5 kB / 2.906 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/5.961, allocations: 32.48 kB / 2.906 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/5.961, allocations: 84.11 kB / 2.906 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/5.961, allocations: 51.14 kB / 2.906 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005203/5.962, allocations: 421.1 kB / 2.906 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001643/5.963, allocations: 455.9 kB / 2.907 GB, free: 117.8 MB / 0.6042 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.002362/5.966, allocations: 1.803 MB / 2.909 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001647/5.967, allocations: 1.249 MB / 2.91 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/5.967, allocations: 0 / 2.91 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000729/5.968, allocations: 0.6849 MB / 2.911 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/5.969, allocations: 210 kB / 2.911 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/5.973, allocations: 1.865 MB / 2.913 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008702/5.973, allocations: 1.231 MB / 2.914 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/5.973, allocations: 3.938 kB / 2.914 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.03492/6.008, allocations: 23.87 MB / 2.937 GB, free: 91.43 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)