Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",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.0.0/package.mo): time 2.683/2.683, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001683/0.001683, allocations: 185.2 kB / 360.3 MB, free: 7.562 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.777/1.777, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001215/0.001214, allocations: 89.23 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2713/0.2726, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6204/0.893, allocations: 115.2 MB / 0.9627 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9768/1.87, allocations: 389 MB / 1.343 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.87, allocations: 92.2 kB / 1.343 GB, free: 177 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 2.522/4.392, allocations: 0.5675 GB / 1.91 GB, free: 55.47 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/4.392, allocations: 8 kB / 1.91 GB, free: 55.46 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005683/4.398, allocations: 0.5333 MB / 1.911 GB, free: 54.93 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02534/4.423, allocations: 7.144 MB / 1.918 GB, free: 47.68 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/4.423, allocations: 20 kB / 1.918 GB, free: 47.66 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/4.423, allocations: 39.98 kB / 1.918 GB, free: 47.62 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001692/4.425, allocations: 482.6 kB / 1.918 GB, free: 47.14 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/4.427, allocations: 0.6109 MB / 1.919 GB, free: 46.49 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/4.427, allocations: 0 / 1.919 GB, free: 46.49 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/4.427, allocations: 4 kB / 1.919 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/4.427, allocations: 19.91 kB / 1.919 GB, free: 46.46 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009663/4.437, allocations: 4.571 MB / 1.923 GB, free: 41.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009717/4.438, allocations: 382.5 kB / 1.924 GB, free: 41.13 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/4.438, allocations: 222.6 kB / 1.924 GB, free: 40.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/4.439, allocations: 0.9376 MB / 1.925 GB, free: 39.77 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/4.439, allocations: 38.56 kB / 1.925 GB, free: 39.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=35): time 3.367e-06/4.439, allocations: 0 / 1.925 GB, free: 39.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.00184/4.441, allocations: 0.4885 MB / 1.925 GB, free: 39.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/4.441, allocations: 55.41 kB / 1.925 GB, free: 39.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/4.442, allocations: 0.5432 MB / 1.926 GB, free: 38.61 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/4.442, allocations: 29.7 kB / 1.926 GB, free: 38.58 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/4.442, allocations: 315.7 kB / 1.926 GB, free: 38.26 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/4.443, allocations: 126.1 kB / 1.926 GB, free: 38.14 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/4.443, allocations: 0 / 1.926 GB, free: 38.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/4.443, allocations: 322 kB / 1.927 GB, free: 37.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/4.443, allocations: 184.9 kB / 1.927 GB, free: 37.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/4.444, allocations: 376.7 kB / 1.927 GB, free: 37.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/4.445, allocations: 236.7 kB / 1.927 GB, free: 36.95 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/4.445, allocations: 0 / 1.927 GB, free: 36.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001871/4.447, allocations: 0.6064 MB / 1.928 GB, free: 36.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003317/4.447, allocations: 1.658 MB / 1.93 GB, free: 34.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/4.447, allocations: 4 kB / 1.93 GB, free: 34.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/4.447, allocations: 8 kB / 1.93 GB, free: 34.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/4.449, allocations: 199.7 kB / 1.93 GB, free: 34.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/4.449, allocations: 8 kB / 1.93 GB, free: 34.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/4.451, allocations: 163.5 kB / 1.93 GB, free: 34.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/4.451, allocations: 31.89 kB / 1.93 GB, free: 34.15 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/4.451, allocations: 8.781 kB / 1.93 GB, free: 34.14 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/4.453, allocations: 487.1 kB / 1.931 GB, free: 33.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/4.453, allocations: 8.562 kB / 1.931 GB, free: 33.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/4.453, allocations: 8 kB / 1.931 GB, free: 33.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/4.455, allocations: 199.7 kB / 1.931 GB, free: 33.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/4.455, allocations: 11.97 kB / 1.931 GB, free: 33.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/4.457, allocations: 159.5 kB / 1.931 GB, free: 33.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/4.457, allocations: 27.98 kB / 1.931 GB, free: 33.26 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.0002254/4.458, allocations: 124.8 kB / 1.931 GB, free: 33.13 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/4.458, allocations: 78.97 kB / 1.931 GB, free: 33.05 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/4.46, allocations: 0.7116 MB / 1.932 GB, free: 32.33 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/4.461, allocations: 11.98 kB / 1.932 GB, free: 32.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/4.461, allocations: 0 / 1.932 GB, free: 32.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/4.461, allocations: 4 kB / 1.932 GB, free: 32.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/4.465, allocations: 1.471 MB / 1.933 GB, free: 30.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/4.465, allocations: 4 kB / 1.933 GB, free: 30.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/4.467, allocations: 159.8 kB / 1.933 GB, free: 30.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/4.467, allocations: 0 / 1.933 GB, free: 30.63 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/4.467, allocations: 11.98 kB / 1.933 GB, free: 30.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/4.467, allocations: 0 / 1.933 GB, free: 30.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/4.467, allocations: 8 kB / 1.933 GB, free: 30.61 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002651/4.469, allocations: 1.039 MB / 1.934 GB, free: 29.52 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003687/4.473, allocations: 1.784 MB / 1.936 GB, free: 27.69 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/4.474, allocations: 224 kB / 1.936 GB, free: 27.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/4.474, allocations: 0 / 1.936 GB, free: 27.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/4.476, allocations: 127.9 kB / 1.937 GB, free: 27.33 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/4.476, allocations: 31.86 kB / 1.937 GB, free: 27.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/4.476, allocations: 23.92 kB / 1.937 GB, free: 27.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0008023/4.477, allocations: 423.2 kB / 1.937 GB, free: 26.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004157/4.481, allocations: 0.5694 MB / 1.938 GB, free: 26.29 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00125/4.482, allocations: 0.5076 MB / 1.938 GB, free: 25.79 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002133/4.484, allocations: 0.7781 MB / 1.939 GB, free: 25.01 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/4.485, allocations: 0 / 1.939 GB, free: 25.01 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006832/4.485, allocations: 271.8 kB / 1.939 GB, free: 24.75 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/4.488, allocations: 317.4 kB / 1.939 GB, free: 24.44 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/4.5, allocations: 1.715 MB / 1.941 GB, free: 22.69 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/4.501, allocations: 1.089 MB / 1.942 GB, free: 21.57 MB / 0.9323 GB Notification: Performance of SimCode: time 1.393e-06/4.501, allocations: 0 / 1.942 GB, free: 21.57 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)