Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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 10.0.0-master/package.mo): time 1.798/1.798, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 181.3 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 98.72 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4355/0.4363, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.6245, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.135/3.76, allocations: 1.936 GB / 3.147 GB, free: 401.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/3.76, allocations: 91.83 kB / 3.147 GB, free: 401 MB / 1.151 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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 4.09/7.85, allocations: 1.678 GB / 4.826 GB, free: 12.83 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/7.85, allocations: 12 kB / 4.826 GB, free: 12.82 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/7.856, allocations: 0.8588 MB / 4.827 GB, free: 11.95 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/7.859, allocations: 1.736 MB / 4.828 GB, free: 10.16 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/7.859, allocations: 80 kB / 4.828 GB, free: 10.08 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/7.859, allocations: 147.9 kB / 4.828 GB, free: 9.938 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003571/7.863, allocations: 2.47 MB / 4.831 GB, free: 7.461 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/7.866, allocations: 2.727 MB / 4.833 GB, free: 4.617 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/7.866, allocations: 3.938 kB / 4.833 GB, free: 4.613 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/7.867, allocations: 8 kB / 4.834 GB, free: 4.605 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/7.867, allocations: 120.6 kB / 4.834 GB, free: 4.484 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/7.88, allocations: 13.54 MB / 4.847 GB, free: 5.922 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/7.882, allocations: 1.852 MB / 4.849 GB, free: 4.066 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/7.884, allocations: 1.269 MB / 4.85 GB, free: 2.801 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/7.885, allocations: 1.382 MB / 4.851 GB, free: 1.125 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/7.885, allocations: 56.56 kB / 4.851 GB, free: 1.059 MB / 1.198 GB Notification: Performance of pre-optimization done (n=197): time 3.827e-06/7.885, allocations: 0 / 4.851 GB, free: 1.059 MB / 1.198 GB Notification: Performance of matching and sorting (n=197): time 0.005157/7.89, allocations: 2.294 MB / 4.854 GB, free: 14.76 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/7.89, allocations: 77.34 kB / 4.854 GB, free: 14.67 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/7.891, allocations: 0.8776 MB / 4.854 GB, free: 13.79 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/7.892, allocations: 29.7 kB / 4.854 GB, free: 13.75 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/7.892, allocations: 0.7275 MB / 4.855 GB, free: 13.02 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/7.893, allocations: 0.6503 MB / 4.856 GB, free: 12.36 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/7.893, allocations: 0 / 4.856 GB, free: 12.36 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001255/7.893, allocations: 369.9 kB / 4.856 GB, free: 11.99 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/7.894, allocations: 0.8279 MB / 4.857 GB, free: 11.16 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/7.895, allocations: 1.051 MB / 4.858 GB, free: 10.05 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/7.897, allocations: 1.044 MB / 4.859 GB, free: 9.004 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/7.897, allocations: 8 kB / 4.859 GB, free: 8.996 MB / 1.214 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003657/7.901, allocations: 2.272 MB / 4.861 GB, free: 6.715 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/7.901, allocations: 11.98 kB / 4.861 GB, free: 6.703 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/7.901, allocations: 4.328 kB / 4.861 GB, free: 6.699 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/7.901, allocations: 19.91 kB / 4.861 GB, free: 6.68 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/7.903, allocations: 395.4 kB / 4.862 GB, free: 6.293 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/7.903, allocations: 11.98 kB / 4.862 GB, free: 6.281 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/7.905, allocations: 278.4 kB / 4.862 GB, free: 6.008 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/7.905, allocations: 67.97 kB / 4.862 GB, free: 5.941 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.0002822/7.906, allocations: 140.5 kB / 4.862 GB, free: 5.797 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/7.906, allocations: 177.9 kB / 4.862 GB, free: 5.621 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/7.91, allocations: 2.347 MB / 4.865 GB, free: 3.262 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/7.91, allocations: 24 kB / 4.865 GB, free: 3.238 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/7.91, allocations: 0 / 4.865 GB, free: 3.238 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/7.913, allocations: 1.948 MB / 4.867 GB, free: 1.277 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4008/8.314, allocations: 5.05 MB / 4.871 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/8.314, allocations: 0 / 4.871 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/8.316, allocations: 454.3 kB / 4.872 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/8.316, allocations: 7.594 kB / 4.872 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/8.316, allocations: 38.62 kB / 4.872 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/8.316, allocations: 8.375 kB / 4.872 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.316, allocations: 5.5 kB / 4.872 GB, free: 271.5 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004339/8.32, allocations: 3.572 MB / 4.875 GB, free: 271.1 MB / 1.214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006195/8.327, allocations: 5.59 MB / 4.881 GB, free: 270.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/8.328, allocations: 0.502 MB / 4.881 GB, free: 270.1 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/8.328, allocations: 6.906 kB / 4.881 GB, free: 270.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/8.33, allocations: 175.3 kB / 4.882 GB, free: 270.1 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/8.33, allocations: 115 kB / 4.882 GB, free: 270.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/8.33, allocations: 71.3 kB / 4.882 GB, free: 270.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.0007981/8.331, allocations: 0.6708 MB / 4.882 GB, free: 270 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.003579/8.334, allocations: 1.626 MB / 4.884 GB, free: 269.9 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.00445/8.339, allocations: 4.625 MB / 4.889 GB, free: 268.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00249/8.341, allocations: 2.046 MB / 4.891 GB, free: 268.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/8.341, allocations: 3.656 kB / 4.891 GB, free: 268.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/8.343, allocations: 1.105 MB / 4.892 GB, free: 268.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/8.347, allocations: 0.9304 MB / 4.893 GB, free: 268 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007145/8.354, allocations: 4.571 MB / 4.897 GB, free: 267.1 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/8.356, allocations: 2.166 MB / 4.899 GB, free: 266.4 MB / 1.214 GB Notification: Performance of SimCode: time 7.52e-07/8.356, allocations: 7.438 kB / 4.899 GB, free: 266.4 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)