Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.504/2.504, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.001698/0.001698, allocations: 191.5 kB / 360.3 MB, free: 7.543 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.915/1.915, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.00131/0.001309, allocations: 95.16 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2851/0.2864, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.9899, allocations: 115.2 MB / 0.9627 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/2.029, allocations: 409.2 MB / 1.362 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/2.029, allocations: 90.2 kB / 1.362 GB, free: 158.7 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 14.29/16.32, allocations: 2.745 GB / 4.107 GB, free: 53.07 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 7.594e-05/16.32, allocations: 9.781 kB / 4.107 GB, free: 53.07 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007506/16.33, allocations: 0.7785 MB / 4.108 GB, free: 52.7 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2714/16.6, allocations: 59.76 MB / 4.166 GB, free: 48.72 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/16.6, allocations: 129.4 kB / 4.167 GB, free: 48.72 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/16.6, allocations: 249.3 kB / 4.167 GB, free: 48.72 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01182/16.62, allocations: 2.548 MB / 4.169 GB, free: 48.69 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/16.63, allocations: 3.617 MB / 4.173 GB, free: 47.68 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/16.63, allocations: 20.45 kB / 4.173 GB, free: 47.66 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006151/16.63, allocations: 13.84 kB / 4.173 GB, free: 47.66 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/16.63, allocations: 121 kB / 4.173 GB, free: 47.66 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04857/16.68, allocations: 26.04 MB / 4.198 GB, free: 27.38 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/16.68, allocations: 1.098 MB / 4.199 GB, free: 26.94 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003943/16.69, allocations: 1.099 MB / 4.201 GB, free: 26.52 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/16.69, allocations: 3.931 MB / 4.204 GB, free: 22.05 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/16.69, allocations: 69.73 kB / 4.204 GB, free: 22 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 1.121e-05/16.69, allocations: 7.938 kB / 4.204 GB, free: 21.99 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.0225/16.72, allocations: 2.959 MB / 4.207 GB, free: 20.93 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/16.72, allocations: 78 kB / 4.207 GB, free: 20.86 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/16.73, allocations: 3.285 MB / 4.211 GB, free: 19.59 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0007981/16.73, allocations: 32.39 kB / 4.211 GB, free: 19.56 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002126/16.73, allocations: 1.705 MB / 4.212 GB, free: 18.39 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001897/16.74, allocations: 0.7522 MB / 4.213 GB, free: 17.79 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/16.74, allocations: 1.312 kB / 4.213 GB, free: 17.79 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002001/16.74, allocations: 406.9 kB / 4.213 GB, free: 17.44 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/16.74, allocations: 0.7434 MB / 4.214 GB, free: 17.13 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/16.74, allocations: 1.706 MB / 4.216 GB, free: 15.57 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/16.75, allocations: 1.422 MB / 4.217 GB, free: 15.08 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-05/16.75, allocations: 9.75 kB / 4.217 GB, free: 15.08 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01608/16.76, allocations: 3.545 MB / 4.221 GB, free: 13.47 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002182/16.77, allocations: 10.29 MB / 4.231 GB, free: 2.422 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.081e-05/16.77, allocations: 21.94 kB / 4.231 GB, free: 2.402 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/16.77, allocations: 378.9 kB / 4.231 GB, free: 2.066 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/16.77, allocations: 0.5148 MB / 4.232 GB, free: 1.617 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/16.78, allocations: 2.847 MB / 4.234 GB, free: 14.75 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009164/16.79, allocations: 0.5027 MB / 4.235 GB, free: 14.34 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009156/16.79, allocations: 130.6 kB / 4.235 GB, free: 14.22 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/16.79, allocations: 4 kB / 4.235 GB, free: 14.22 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01312/16.8, allocations: 2.83 MB / 4.238 GB, free: 11.83 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/16.8, allocations: 20.94 kB / 4.238 GB, free: 11.81 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/16.8, allocations: 400.7 kB / 4.238 GB, free: 11.48 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/16.81, allocations: 0.5151 MB / 4.239 GB, free: 11.03 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/16.82, allocations: 7.31 MB / 4.246 GB, free: 3.66 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008968/16.83, allocations: 475.5 kB / 4.246 GB, free: 3.297 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008948/16.83, allocations: 131.4 kB / 4.246 GB, free: 3.176 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009765/16.83, allocations: 180 kB / 4.247 GB, free: 2.996 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/16.83, allocations: 0.5017 MB / 4.247 GB, free: 2.488 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02119/16.86, allocations: 4.266 MB / 4.251 GB, free: 15.33 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/16.86, allocations: 42.3 kB / 4.251 GB, free: 15.3 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/16.86, allocations: 2.516 kB / 4.251 GB, free: 15.3 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01145/16.87, allocations: 2.741 MB / 4.254 GB, free: 12.59 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03245/16.9, allocations: 8.165 MB / 4.262 GB, free: 4.168 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/16.9, allocations: 0 / 4.262 GB, free: 4.168 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/16.9, allocations: 387.6 kB / 4.262 GB, free: 3.789 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009795/16.9, allocations: 227.2 kB / 4.263 GB, free: 3.555 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004901/16.9, allocations: 39.97 kB / 4.263 GB, free: 3.516 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/16.91, allocations: 2.518 MB / 4.265 GB, free: 0.8945 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/16.91, allocations: 4 kB / 4.265 GB, free: 0.8906 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.668/17.58, allocations: 4.845 MB / 4.27 GB, free: 171.7 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02017/17.6, allocations: 6.945 MB / 4.277 GB, free: 170.8 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/17.6, allocations: 0.9748 MB / 4.277 GB, free: 170.5 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002189/17.6, allocations: 3.875 kB / 4.277 GB, free: 170.5 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00818/17.61, allocations: 400.5 kB / 4.278 GB, free: 170.5 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006481/17.61, allocations: 144.3 kB / 4.278 GB, free: 170.5 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004708/17.61, allocations: 111.4 kB / 4.278 GB, free: 170.5 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.007135/17.62, allocations: 2.441 MB / 4.281 GB, free: 170.3 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02507/17.64, allocations: 4.773 MB / 4.285 GB, free: 170.1 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008864/17.65, allocations: 3.436 MB / 4.289 GB, free: 168.9 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01237/17.67, allocations: 4.244 MB / 4.293 GB, free: 168.4 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/17.67, allocations: 5.859 kB / 4.293 GB, free: 168.4 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003448/17.67, allocations: 1.264 MB / 4.294 GB, free: 168.4 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02485/17.69, allocations: 2.532 MB / 4.296 GB, free: 168.4 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/17.72, allocations: 7.31 MB / 4.304 GB, free: 166.6 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007309/17.73, allocations: 3.465 MB / 4.307 GB, free: 165.8 MB / 1.089 GB Notification: Performance of SimCode: time 1.893e-06/17.73, allocations: 0 / 4.307 GB, free: 165.8 MB / 1.089 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)