Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.536/1.536, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001147/0.001147, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.557/1.557, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009724/0.0009723, allocations: 86.67 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2949/0.2959, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/1.028, allocations: 116.3 MB / 0.9726 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8997/1.928, allocations: 390.1 MB / 1.354 GB, free: 100.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.928, allocations: 96.81 kB / 1.354 GB, free: 100.7 MB / 0.823 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 1.681/3.609, allocations: 0.5675 GB / 1.921 GB, free: 34.37 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/3.609, allocations: 12 kB / 1.921 GB, free: 34.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/3.612, allocations: 0.5372 MB / 1.922 GB, free: 33.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/3.629, allocations: 7.137 MB / 1.929 GB, free: 26.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/3.629, allocations: 20 kB / 1.929 GB, free: 26.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/3.63, allocations: 39.98 kB / 1.929 GB, free: 26.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/3.631, allocations: 482.6 kB / 1.929 GB, free: 26.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/3.632, allocations: 0.6108 MB / 1.93 GB, free: 25.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/3.632, allocations: 0 / 1.93 GB, free: 25.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/3.633, allocations: 8 kB / 1.93 GB, free: 25.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/3.633, allocations: 19.84 kB / 1.93 GB, free: 25.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006792/3.639, allocations: 4.559 MB / 1.934 GB, free: 20.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/3.64, allocations: 374.5 kB / 1.935 GB, free: 20.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/3.64, allocations: 220.8 kB / 1.935 GB, free: 19.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008463/3.641, allocations: 0.9388 MB / 1.936 GB, free: 18.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/3.641, allocations: 38.56 kB / 1.936 GB, free: 18.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.286e-06/3.641, allocations: 0 / 1.936 GB, free: 18.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001375/3.643, allocations: 0.4961 MB / 1.936 GB, free: 18.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/3.643, allocations: 55.41 kB / 1.936 GB, free: 18.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/3.644, allocations: 0.5394 MB / 1.937 GB, free: 17.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/3.644, allocations: 25.7 kB / 1.937 GB, free: 17.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/3.644, allocations: 323.6 kB / 1.937 GB, free: 17.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/3.644, allocations: 122.2 kB / 1.937 GB, free: 17.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/3.644, allocations: 0 / 1.937 GB, free: 17.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/3.644, allocations: 322 kB / 1.938 GB, free: 16.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/3.644, allocations: 185 kB / 1.938 GB, free: 16.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/3.645, allocations: 376.7 kB / 1.938 GB, free: 16.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/3.645, allocations: 243.5 kB / 1.938 GB, free: 15.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/3.645, allocations: 0 / 1.938 GB, free: 15.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001314/3.647, allocations: 0.5989 MB / 1.939 GB, free: 15.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005166/3.647, allocations: 1.665 MB / 1.941 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/3.647, allocations: 4 kB / 1.941 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/3.647, allocations: 8 kB / 1.941 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/3.648, allocations: 195.7 kB / 1.941 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/3.648, allocations: 15.92 kB / 1.941 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/3.649, allocations: 163.5 kB / 1.941 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/3.65, allocations: 31.89 kB / 1.941 GB, free: 13.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/3.65, allocations: 4 kB / 1.941 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/3.651, allocations: 487.3 kB / 1.942 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/3.651, allocations: 8 kB / 1.942 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/3.651, allocations: 4 kB / 1.942 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/3.652, allocations: 212.2 kB / 1.942 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/3.652, allocations: 7.984 kB / 1.942 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/3.653, allocations: 155.5 kB / 1.942 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/3.653, allocations: 27.98 kB / 1.942 GB, free: 12.16 MB / 0.948 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.0001679/3.653, allocations: 124.8 kB / 1.942 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/3.653, allocations: 78.97 kB / 1.942 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/3.655, allocations: 0.7044 MB / 1.943 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/3.655, allocations: 11.98 kB / 1.943 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/3.655, allocations: 0 / 1.943 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/3.655, allocations: 0 / 1.943 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/3.658, allocations: 1.482 MB / 1.944 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/3.658, allocations: 0 / 1.944 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008111/3.659, allocations: 167.9 kB / 1.944 GB, free: 9.523 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/3.659, allocations: 0 / 1.944 GB, free: 9.523 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/3.659, allocations: 11.98 kB / 1.944 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/3.659, allocations: 0 / 1.944 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/3.659, allocations: 0 / 1.944 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001598/3.66, allocations: 1.047 MB / 1.945 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002082/3.662, allocations: 1.78 MB / 1.947 GB, free: 6.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/3.663, allocations: 223.9 kB / 1.947 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/3.663, allocations: 0 / 1.947 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/3.664, allocations: 135.9 kB / 1.948 GB, free: 6.219 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/3.664, allocations: 31.86 kB / 1.948 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/3.664, allocations: 19.98 kB / 1.948 GB, free: 6.168 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005158/3.665, allocations: 423.1 kB / 1.948 GB, free: 5.758 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003356/3.668, allocations: 0.5616 MB / 1.949 GB, free: 5.195 MB / 0.948 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.001201/3.669, allocations: 0.5078 MB / 1.949 GB, free: 4.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001383/3.671, allocations: 0.7839 MB / 1.95 GB, free: 3.891 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.911e-05/3.671, allocations: 0 / 1.95 GB, free: 3.891 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004343/3.671, allocations: 273.7 kB / 1.95 GB, free: 3.625 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/3.673, allocations: 305 kB / 1.95 GB, free: 3.332 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/3.679, allocations: 1.721 MB / 1.952 GB, free: 1.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/3.68, allocations: 1.089 MB / 1.953 GB, free: 464 kB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/3.68, allocations: 0 / 1.953 GB, free: 464 kB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)