Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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 2.126/2.126, allocations: 390.4 MB / 397.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 181.4 kB / 490.8 MB, free: 11.17 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.579/1.579, allocations: 221.4 MB / 0.7863 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 92.45 kB / 0.9264 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.4151/0.4163, allocations: 149.1 MB / 1.072 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/1.265, allocations: 143 MB / 1.212 GB, free: 53.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/6.252, allocations: 2.175 GB / 3.387 GB, free: 338.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/6.252, allocations: 87.95 kB / 3.387 GB, free: 338.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 4.027/10.28, allocations: 1.021 GB / 4.408 GB, free: 185.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/10.28, allocations: 12.42 kB / 4.408 GB, free: 185.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/10.28, allocations: 365.3 kB / 4.409 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/10.29, allocations: 1.614 MB / 4.41 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/10.29, allocations: 36 kB / 4.41 GB, free: 183.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005877/10.29, allocations: 71.98 kB / 4.41 GB, free: 183.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002451/10.29, allocations: 0.7931 MB / 4.411 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/10.29, allocations: 0.9928 MB / 4.412 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/10.29, allocations: 0 / 4.412 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/10.29, allocations: 4 kB / 4.412 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/10.29, allocations: 46.12 kB / 4.412 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/10.31, allocations: 5.697 MB / 4.418 GB, free: 175.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/10.31, allocations: 0.6465 MB / 4.418 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/10.31, allocations: 382.3 kB / 4.419 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/10.31, allocations: 0.6115 MB / 4.419 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/10.31, allocations: 43.16 kB / 4.419 GB, free: 173.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.549e-06/10.31, allocations: 3.531 kB / 4.419 GB, free: 173.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002683/10.31, allocations: 0.8456 MB / 4.42 GB, free: 172.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/10.31, allocations: 60.06 kB / 4.42 GB, free: 172.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/10.31, allocations: 0.874 MB / 4.421 GB, free: 171.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/10.31, allocations: 29.7 kB / 4.421 GB, free: 171.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/10.31, allocations: 481 kB / 4.421 GB, free: 171.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/10.31, allocations: 232.5 kB / 4.422 GB, free: 171.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/10.31, allocations: 0 / 4.422 GB, free: 171.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/10.31, allocations: 345.1 kB / 4.422 GB, free: 170.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/10.31, allocations: 237.5 kB / 4.422 GB, free: 170.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/10.31, allocations: 464.1 kB / 4.423 GB, free: 170.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/10.31, allocations: 327.5 kB / 4.423 GB, free: 169.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/10.31, allocations: 3.938 kB / 4.423 GB, free: 169.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001871/10.32, allocations: 0.8964 MB / 4.424 GB, free: 168.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003451/10.32, allocations: 1.065 MB / 4.425 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/10.32, allocations: 10.33 kB / 4.425 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/10.32, allocations: 93.67 kB / 4.425 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/10.32, allocations: 170.2 kB / 4.425 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/10.32, allocations: 1.809 MB / 4.427 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/10.32, allocations: 145.8 kB / 4.427 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-05/10.32, allocations: 28 kB / 4.427 GB, free: 165.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/10.32, allocations: 4 kB / 4.427 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/10.32, allocations: 0.6839 MB / 4.428 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/10.32, allocations: 0 / 4.428 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/10.32, allocations: 97.66 kB / 4.428 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/10.32, allocations: 155.3 kB / 4.428 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/10.33, allocations: 3.003 MB / 4.431 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/10.33, allocations: 137.5 kB / 4.431 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/10.33, allocations: 30.97 kB / 4.431 GB, free: 161.1 MB / 1.167 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003533/10.33, allocations: 120.1 kB / 4.431 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/10.33, allocations: 138.3 kB / 4.431 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/10.33, allocations: 0.8591 MB / 4.432 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/10.33, allocations: 11.91 kB / 4.432 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/10.33, allocations: 3.406 kB / 4.432 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/10.33, allocations: 0.987 MB / 4.433 GB, free: 158.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/10.34, allocations: 2.218 MB / 4.435 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/10.34, allocations: 4 kB / 4.435 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/10.34, allocations: 158.8 kB / 4.436 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/10.34, allocations: 72.59 kB / 4.436 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/10.34, allocations: 12 kB / 4.436 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008655/10.34, allocations: 1.746 MB / 4.437 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/10.34, allocations: 4 kB / 4.437 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002455/10.34, allocations: 1.452 MB / 4.439 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00356/10.35, allocations: 2.331 MB / 4.441 GB, free: 150.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/10.35, allocations: 319.2 kB / 4.441 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/10.35, allocations: 6.062 kB / 4.441 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/10.35, allocations: 113.4 kB / 4.441 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/10.35, allocations: 51.88 kB / 4.441 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/10.35, allocations: 31.78 kB / 4.442 GB, free: 150.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.00165/10.35, allocations: 0.6771 MB / 4.442 GB, free: 149.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007147/10.36, allocations: 1.47 MB / 4.444 GB, free: 148 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004087/10.36, allocations: 2.243 MB / 4.446 GB, free: 146.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003227/10.37, allocations: 1.285 MB / 4.447 GB, free: 144.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/10.37, allocations: 0 / 4.447 GB, free: 144.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/10.37, allocations: 367.2 kB / 4.447 GB, free: 144.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/10.37, allocations: 0.7151 MB / 4.448 GB, free: 143.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/10.38, allocations: 2.119 MB / 4.45 GB, free: 141.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/10.38, allocations: 1.438 MB / 4.452 GB, free: 140.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/10.38, allocations: 0 / 4.452 GB, free: 140.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)