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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) [: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.392/1.392, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001032/0.001032, allocations: 177.3 kB / 366.3 MB, free: 1.906 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0007809/0.000781, allocations: 100.5 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2048/0.2057, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.6753, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.626/4.301, allocations: 2.078 GB / 3.05 GB, free: 276.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/4.302, allocations: 89.33 kB / 3.05 GB, free: 276.4 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: 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 1.283/5.585, allocations: 455.8 MB / 3.495 GB, free: 249.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/5.585, allocations: 8.969 kB / 3.495 GB, free: 249.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/5.586, allocations: 162.5 kB / 3.496 GB, free: 249.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/5.588, allocations: 0.6506 MB / 3.496 GB, free: 248.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/5.588, allocations: 26.06 kB / 3.496 GB, free: 248.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/5.588, allocations: 53.06 kB / 3.496 GB, free: 248.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002371/5.59, allocations: 1.322 MB / 3.498 GB, free: 248.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/5.592, allocations: 1.065 MB / 3.499 GB, free: 248 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/5.592, allocations: 0 / 3.499 GB, free: 248 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/5.592, allocations: 2.969 kB / 3.499 GB, free: 248 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/5.593, allocations: 51.48 kB / 3.499 GB, free: 248 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005453/5.598, allocations: 3.492 MB / 3.502 GB, free: 246 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/5.6, allocations: 1.294 MB / 3.503 GB, free: 245.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/5.601, allocations: 0.6833 MB / 3.504 GB, free: 245.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007604/5.601, allocations: 0.9664 MB / 3.505 GB, free: 244.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008957/5.602, allocations: 0.6791 MB / 3.506 GB, free: 244.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.597e-06/5.602, allocations: 3.75 kB / 3.506 GB, free: 244.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=123): time 0.002902/5.605, allocations: 1.391 MB / 3.507 GB, free: 243.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/5.605, allocations: 89.64 kB / 3.507 GB, free: 243.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/5.606, allocations: 0.5239 MB / 3.508 GB, free: 243.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/5.606, allocations: 32.67 kB / 3.508 GB, free: 243.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/5.606, allocations: 297.5 kB / 3.508 GB, free: 243.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/5.606, allocations: 397.9 kB / 3.508 GB, free: 242.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/5.607, allocations: 0 / 3.508 GB, free: 242.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001265/5.607, allocations: 398.3 kB / 3.509 GB, free: 242.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007574/5.607, allocations: 0.5047 MB / 3.509 GB, free: 242.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/5.608, allocations: 0.6934 MB / 3.51 GB, free: 241.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/5.61, allocations: 0.7562 MB / 3.511 GB, free: 241.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/5.61, allocations: 1.312 kB / 3.511 GB, free: 241.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002773/5.613, allocations: 1.514 MB / 3.512 GB, free: 241.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/5.613, allocations: 8.438 kB / 3.512 GB, free: 241.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/5.613, allocations: 2.156 kB / 3.512 GB, free: 241.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/5.613, allocations: 10.09 kB / 3.512 GB, free: 241.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/5.614, allocations: 233 kB / 3.512 GB, free: 241.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/5.614, allocations: 9.156 kB / 3.512 GB, free: 241.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/5.615, allocations: 87.75 kB / 3.512 GB, free: 241.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/5.615, allocations: 56.33 kB / 3.513 GB, free: 241.2 MB / 0.9636 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.0002185/5.615, allocations: 162.4 kB / 3.513 GB, free: 241.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/5.615, allocations: 87.69 kB / 3.513 GB, free: 241 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/5.618, allocations: 1.616 MB / 3.514 GB, free: 240.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/5.618, allocations: 15.38 kB / 3.514 GB, free: 240.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/5.618, allocations: 0 / 3.514 GB, free: 240.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/5.618, allocations: 7.922 kB / 3.514 GB, free: 240.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/5.624, allocations: 3.225 MB / 3.517 GB, free: 238.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/5.624, allocations: 5.25 kB / 3.517 GB, free: 238.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/5.625, allocations: 209.5 kB / 3.518 GB, free: 238.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/5.625, allocations: 10.59 kB / 3.518 GB, free: 238.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/5.625, allocations: 17.34 kB / 3.518 GB, free: 238.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/5.625, allocations: 13.7 kB / 3.518 GB, free: 238.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/5.625, allocations: 13.47 kB / 3.518 GB, free: 238.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003866/5.629, allocations: 2.833 MB / 3.521 GB, free: 235.9 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004709/5.634, allocations: 4.144 MB / 3.525 GB, free: 231.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/5.634, allocations: 328.5 kB / 3.525 GB, free: 231.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/5.634, allocations: 15.98 kB / 3.525 GB, free: 231.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/5.635, allocations: 26.48 kB / 3.525 GB, free: 231.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/5.635, allocations: 83.17 kB / 3.525 GB, free: 231.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/5.635, allocations: 54.94 kB / 3.525 GB, free: 231 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0004562/5.636, allocations: 414.9 kB / 3.525 GB, free: 230.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002444/5.638, allocations: 0.6478 MB / 3.526 GB, free: 230 MB / 0.9636 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.002532/5.641, allocations: 1.804 MB / 3.528 GB, free: 228.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001617/5.643, allocations: 1.244 MB / 3.529 GB, free: 227.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/5.643, allocations: 4 kB / 3.529 GB, free: 227.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/5.643, allocations: 0.683 MB / 3.53 GB, free: 226.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/5.645, allocations: 215.2 kB / 3.53 GB, free: 226.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/5.648, allocations: 1.862 MB / 3.532 GB, free: 224.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/5.649, allocations: 1.237 MB / 3.533 GB, free: 223.2 MB / 0.9636 GB Notification: Performance of SimCode: time 3.2e-07/5.649, allocations: 3.625 kB / 3.533 GB, free: 223.2 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)