Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001123/0.001124, allocations: 181.2 kB / 366.3 MB, free: 1.98 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.49/1.49, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009569/0.0009571, allocations: 96.95 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3071/0.3081, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/1.118, allocations: 116.3 MB / 0.9727 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/2.179, allocations: 369.5 MB / 1.334 GB, free: 118 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/2.179, allocations: 90.94 kB / 1.334 GB, free: 118 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.03489/2.214, allocations: 16.43 MB / 1.35 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/2.214, allocations: 8 kB / 1.35 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/2.214, allocations: 3.906 kB / 1.35 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/2.214, allocations: 163.1 kB / 1.35 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/2.214, allocations: 3.984 kB / 1.35 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/2.215, allocations: 0 / 1.35 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.541e-05/2.215, allocations: 4 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.838e-05/2.215, allocations: 38.42 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/2.215, allocations: 3.906 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/2.215, allocations: 0 / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/2.215, allocations: 7.875 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/2.215, allocations: 134.2 kB / 1.35 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/2.215, allocations: 22.3 kB / 1.35 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/2.215, allocations: 8.922 kB / 1.35 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/2.215, allocations: 97.09 kB / 1.35 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/2.215, allocations: 38.55 kB / 1.35 GB, free: 104.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/2.215, allocations: 0 / 1.35 GB, free: 104.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002916/2.216, allocations: 49.09 kB / 1.35 GB, free: 104.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/2.216, allocations: 51.41 kB / 1.35 GB, free: 104.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/2.216, allocations: 100.7 kB / 1.35 GB, free: 104 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/2.216, allocations: 26.95 kB / 1.35 GB, free: 104 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/2.216, allocations: 84.14 kB / 1.35 GB, free: 103.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/2.216, allocations: 7.906 kB / 1.35 GB, free: 103.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/2.216, allocations: 0 / 1.35 GB, free: 103.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/2.216, allocations: 310.8 kB / 1.351 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/2.216, allocations: 3.625 kB / 1.351 GB, free: 103.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-06/2.216, allocations: 4 kB / 1.351 GB, free: 103.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.447e-05/2.216, allocations: 15.97 kB / 1.351 GB, free: 103.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/2.216, allocations: 0 / 1.351 GB, free: 103.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/2.216, allocations: 49.73 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/2.216, allocations: 8 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/2.216, allocations: 0 / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/2.216, allocations: 3.906 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/2.216, allocations: 5.594 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/2.216, allocations: 0 / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/2.216, allocations: 256 / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/2.216, allocations: 4 kB / 1.351 GB, free: 103.5 MB / 0.823 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 5.943e-05/2.217, allocations: 111.7 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/2.217, allocations: 11.94 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/2.217, allocations: 56.48 kB / 1.351 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/2.217, allocations: 1.875 kB / 1.351 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.217, allocations: 0 / 1.351 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/2.217, allocations: 0 / 1.351 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.523e-05/2.217, allocations: 138 kB / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/2.217, allocations: 0 / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/2.217, allocations: 7.938 kB / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/2.217, allocations: 4.031 kB / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/2.217, allocations: 3.906 kB / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/2.217, allocations: 0 / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/2.217, allocations: 0 / 1.351 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001468/2.217, allocations: 76.42 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002088/2.217, allocations: 464.5 kB / 1.352 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/2.217, allocations: 89 kB / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/2.217, allocations: 0 / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/2.217, allocations: 0 / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/2.217, allocations: 0 / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/2.217, allocations: 0 / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.566e-05/2.217, allocations: 87.14 kB / 1.352 GB, free: 102.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008264/2.218, allocations: 31.94 kB / 1.352 GB, free: 102.3 MB / 0.823 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.000273/2.219, allocations: 160.5 kB / 1.352 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.898e-05/2.219, allocations: 11.94 kB / 1.352 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.219, allocations: 0 / 1.352 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/2.219, allocations: 4 kB / 1.352 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/2.219, allocations: 14.06 kB / 1.352 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/2.219, allocations: 53.64 kB / 1.352 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/2.219, allocations: 0.688 MB / 1.353 GB, free: 101.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/2.219, allocations: 4.125 kB / 1.353 GB, free: 101.4 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)