Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.587/2.587, 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.002439/0.002439, allocations: 177.3 kB / 360.3 MB, free: 7.555 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.971/1.971, 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.001675/0.001675, allocations: 84.83 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2935/0.2953, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.9215, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.943, allocations: 368.4 MB / 1.323 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/1.943, allocations: 95.77 kB / 1.323 GB, free: 183.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.05995/2.003, allocations: 16.41 MB / 1.339 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/2.003, allocations: 9.25 kB / 1.339 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/2.003, allocations: 3.906 kB / 1.339 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/2.003, allocations: 165.8 kB / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/2.003, allocations: 0 / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/2.003, allocations: 0.6562 kB / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.257e-05/2.003, allocations: 5.406 kB / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/2.003, allocations: 35.52 kB / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/2.003, allocations: 3.906 kB / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-06/2.003, allocations: 7.938 kB / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/2.004, allocations: 0 / 1.339 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/2.004, allocations: 139.1 kB / 1.339 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/2.004, allocations: 23.73 kB / 1.339 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/2.004, allocations: 9.859 kB / 1.339 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/2.004, allocations: 99.67 kB / 1.339 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/2.004, allocations: 34.56 kB / 1.339 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/2.004, allocations: 3.406 kB / 1.339 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002627/2.004, allocations: 51.83 kB / 1.339 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/2.004, allocations: 57.41 kB / 1.339 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/2.004, allocations: 92.03 kB / 1.339 GB, free: 177 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/2.004, allocations: 27.17 kB / 1.339 GB, free: 177 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.664e-05/2.005, allocations: 80.14 kB / 1.339 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/2.005, allocations: 10.75 kB / 1.339 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/2.005, allocations: 0 / 1.339 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/2.005, allocations: 317.3 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/2.005, allocations: 2.75 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/2.005, allocations: 1.219 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/2.005, allocations: 15.02 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.005, allocations: 0 / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001788/2.005, allocations: 46.98 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/2.005, allocations: 9.031 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/2.005, allocations: 0 / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/2.005, allocations: 5.062 kB / 1.34 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/2.005, allocations: 12.89 kB / 1.34 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/2.005, allocations: 0 / 1.34 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/2.005, allocations: 0 / 1.34 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/2.005, allocations: 0 / 1.34 GB, free: 176.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.82e-05/2.005, allocations: 106.6 kB / 1.34 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/2.005, allocations: 11.06 kB / 1.34 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/2.006, allocations: 53.64 kB / 1.34 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/2.006, allocations: 5.609 kB / 1.34 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/2.006, allocations: 0 / 1.34 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/2.006, allocations: 0 / 1.34 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.932e-05/2.006, allocations: 136.6 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/2.006, allocations: 3.938 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/2.006, allocations: 2.219 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/2.006, allocations: 1.469 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/2.006, allocations: 3.906 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/2.006, allocations: 11.45 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.006, allocations: 3.938 kB / 1.34 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001865/2.006, allocations: 71.61 kB / 1.34 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002532/2.006, allocations: 462.3 kB / 1.341 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/2.006, allocations: 81.02 kB / 1.341 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/2.006, allocations: 3.031 kB / 1.341 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/2.006, allocations: 0 / 1.341 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/2.006, allocations: 3.984 kB / 1.341 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/2.006, allocations: 0 / 1.341 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.689e-05/2.006, allocations: 85.19 kB / 1.341 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00114/2.008, allocations: 28.16 kB / 1.341 GB, free: 175.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002885/2.008, allocations: 164.1 kB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/2.008, allocations: 14.12 kB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.008, allocations: 0 / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/2.008, allocations: 4.562 kB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/2.008, allocations: 8.609 kB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/2.008, allocations: 52.69 kB / 1.341 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/2.009, allocations: 0.6942 MB / 1.342 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/2.009, allocations: 0 / 1.342 GB, free: 174.6 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)