Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.398/1.398, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001337/0.001337, allocations: 185.3 kB / 361.1 MB, free: 7.078 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.177/1.177, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008261/0.0008263, allocations: 95.64 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2054/0.2062, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.7486, allocations: 115.3 MB / 0.9638 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6907/1.439, allocations: 368.5 MB / 1.324 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/1.44, allocations: 89.17 kB / 1.324 GB, free: 198.8 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.03182/1.471, allocations: 16.42 MB / 1.34 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.472, allocations: 8.5 kB / 1.34 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/1.472, allocations: 7.906 kB / 1.34 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/1.472, allocations: 163 kB / 1.34 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/1.472, allocations: 4 kB / 1.34 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/1.472, allocations: 0 / 1.34 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.26e-05/1.472, allocations: 5.562 kB / 1.34 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.763e-05/1.472, allocations: 33.69 kB / 1.34 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.475e-06/1.472, allocations: 3.906 kB / 1.34 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/1.472, allocations: 0 / 1.34 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.472, allocations: 3.938 kB / 1.34 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/1.472, allocations: 133.2 kB / 1.34 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/1.472, allocations: 30.36 kB / 1.34 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/1.472, allocations: 4.859 kB / 1.34 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/1.472, allocations: 105.1 kB / 1.34 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/1.472, allocations: 30.56 kB / 1.34 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.472, allocations: 0 / 1.34 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/1.472, allocations: 53.52 kB / 1.34 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/1.473, allocations: 55.44 kB / 1.34 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.394e-05/1.473, allocations: 89 kB / 1.34 GB, free: 185 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/1.473, allocations: 25.7 kB / 1.341 GB, free: 185 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/1.473, allocations: 84.14 kB / 1.341 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/1.473, allocations: 11.64 kB / 1.341 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/1.473, allocations: 0 / 1.341 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/1.473, allocations: 310.8 kB / 1.341 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/1.473, allocations: 4 kB / 1.341 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-06/1.473, allocations: 4 kB / 1.341 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/1.473, allocations: 15.97 kB / 1.341 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.473, allocations: 0 / 1.341 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/1.473, allocations: 52.69 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.473, allocations: 7.984 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.473, allocations: 2 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/1.473, allocations: 3.906 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/1.473, allocations: 4 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.473, allocations: 1.25 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/1.473, allocations: 4.094 kB / 1.341 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/1.473, allocations: 0 / 1.341 GB, free: 184.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.243e-05/1.473, allocations: 107.6 kB / 1.341 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/1.473, allocations: 7.891 kB / 1.341 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/1.473, allocations: 60.55 kB / 1.341 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.473, allocations: 0 / 1.341 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.473, allocations: 3.984 kB / 1.341 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.473, allocations: 4.031 kB / 1.341 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.452e-05/1.473, allocations: 130.1 kB / 1.341 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.473, allocations: 1.938 kB / 1.341 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/1.473, allocations: 11.92 kB / 1.341 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.473, allocations: 0 / 1.341 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.473, allocations: 3.906 kB / 1.341 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.473, allocations: 4 kB / 1.341 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.473, allocations: 0 / 1.341 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001257/1.474, allocations: 72.05 kB / 1.341 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001702/1.474, allocations: 460.3 kB / 1.342 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/1.474, allocations: 89 kB / 1.342 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/1.474, allocations: 0 / 1.342 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/1.474, allocations: 0 / 1.342 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/1.474, allocations: 0.6562 kB / 1.342 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/1.474, allocations: 8.062 kB / 1.342 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.895e-05/1.474, allocations: 80.78 kB / 1.342 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007489/1.475, allocations: 31.94 kB / 1.342 GB, free: 183.4 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.0002525/1.475, allocations: 169.4 kB / 1.342 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.394e-05/1.475, allocations: 7.984 kB / 1.342 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.475, allocations: 2.156 kB / 1.342 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-06/1.475, allocations: 7.938 kB / 1.342 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/1.475, allocations: 9.328 kB / 1.342 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/1.475, allocations: 62.95 kB / 1.342 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/1.476, allocations: 0.688 MB / 1.343 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.476, allocations: 0 / 1.343 GB, free: 182.4 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)