Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.282/1.282, allocations: 249.4 MB / 256.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 181.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007823/0.0007822, allocations: 79.41 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3342/0.335, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.4917, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6777/1.169, allocations: 362.1 MB / 1.238 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.17, allocations: 90.19 kB / 1.238 GB, free: 8.395 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.3633/1.533, allocations: 16.07 MB / 1.254 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.533, allocations: 7.531 kB / 1.254 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/1.533, allocations: 3.406 kB / 1.254 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/1.533, allocations: 171.3 kB / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/1.533, allocations: 0 / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/1.533, allocations: 0 / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.916e-05/1.533, allocations: 12.59 kB / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.042e-05/1.533, allocations: 30.11 kB / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/1.533, allocations: 1.594 kB / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/1.533, allocations: 0 / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.533, allocations: 0 / 1.254 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/1.534, allocations: 135.2 kB / 1.254 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/1.534, allocations: 25.92 kB / 1.254 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/1.534, allocations: 11.42 kB / 1.254 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/1.534, allocations: 101.8 kB / 1.255 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/1.534, allocations: 30.56 kB / 1.255 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.534, allocations: 3.891 kB / 1.255 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002195/1.534, allocations: 47.41 kB / 1.255 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.543e-05/1.534, allocations: 51.41 kB / 1.255 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.298e-05/1.534, allocations: 100.1 kB / 1.255 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-06/1.534, allocations: 26.83 kB / 1.255 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/1.534, allocations: 80.14 kB / 1.255 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/1.534, allocations: 6.594 kB / 1.255 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/1.534, allocations: 0 / 1.255 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.925e-05/1.534, allocations: 318.4 kB / 1.255 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/1.534, allocations: 0 / 1.255 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/1.534, allocations: 6.875 kB / 1.255 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/1.534, allocations: 16.06 kB / 1.255 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.534, allocations: 3.75 kB / 1.255 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001118/1.535, allocations: 48.88 kB / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/1.535, allocations: 3.938 kB / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.535, allocations: 5.062 kB / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.535, allocations: 3.594 kB / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/1.535, allocations: 5.625 kB / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.535, allocations: 3.438 kB / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/1.535, allocations: 0 / 1.255 GB, free: 248 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/1.535, allocations: 0 / 1.255 GB, free: 248 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.5e-05/1.535, allocations: 104.9 kB / 1.255 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/1.535, allocations: 3.938 kB / 1.255 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/1.535, allocations: 73.17 kB / 1.255 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/1.535, allocations: 0 / 1.255 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.535, allocations: 3.938 kB / 1.255 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.535, allocations: 0 / 1.255 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.888e-05/1.535, allocations: 135.9 kB / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.535, allocations: 0 / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/1.535, allocations: 3.75 kB / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.535, allocations: 0 / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/1.535, allocations: 3.531 kB / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.535, allocations: 0 / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.535, allocations: 0 / 1.256 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001268/1.535, allocations: 81.48 kB / 1.256 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001762/1.535, allocations: 458.6 kB / 1.256 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/1.535, allocations: 84.56 kB / 1.256 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/1.535, allocations: 0 / 1.256 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/1.535, allocations: 0 / 1.256 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/1.535, allocations: 6.688 kB / 1.256 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/1.535, allocations: 3.906 kB / 1.256 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.003e-05/1.536, allocations: 79.19 kB / 1.256 GB, free: 247 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008684/1.536, allocations: 40.86 kB / 1.256 GB, free: 247 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.0002722/1.537, allocations: 158 kB / 1.256 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.921e-05/1.537, allocations: 7.875 kB / 1.256 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.537, allocations: 0 / 1.256 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/1.537, allocations: 10.31 kB / 1.256 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/1.537, allocations: 3.938 kB / 1.256 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/1.537, allocations: 62.02 kB / 1.257 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.537, allocations: 0.6906 MB / 1.257 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.537, allocations: 0 / 1.257 GB, free: 246.2 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)