Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.095/2.095, allocations: 390.4 MB / 397.7 MB, free: 10.61 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.001101/0.001101, allocations: 181.6 kB / 490.8 MB, free: 11.15 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.531/1.531, allocations: 221.4 MB / 0.7863 GB, free: 13.53 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.001061/0.00106, allocations: 90.42 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3695/0.3706, allocations: 149.2 MB / 1.072 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/1.355, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/1.564, allocations: 153.7 MB / 1.362 GB, free: 37.83 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.564, allocations: 107.9 kB / 1.362 GB, free: 37.73 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01823/1.582, allocations: 6.348 MB / 1.368 GB, free: 31.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.582, allocations: 8.594 kB / 1.368 GB, free: 31.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.583, allocations: 8.594 kB / 1.368 GB, free: 31.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.583, allocations: 167.1 kB / 1.368 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/1.583, allocations: 2.812 kB / 1.368 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/1.583, allocations: 3.906 kB / 1.368 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.855e-05/1.583, allocations: 11.98 kB / 1.368 GB, free: 31.15 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.181e-05/1.583, allocations: 38.64 kB / 1.368 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.583, allocations: 0 / 1.368 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.583, allocations: 4 kB / 1.368 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/1.583, allocations: 1.125 kB / 1.368 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/1.583, allocations: 142.1 kB / 1.368 GB, free: 30.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.357e-05/1.583, allocations: 44.52 kB / 1.369 GB, free: 30.88 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/1.583, allocations: 8.891 kB / 1.369 GB, free: 30.87 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007722/1.584, allocations: 0.9859 MB / 1.369 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/1.584, allocations: 34.47 kB / 1.37 GB, free: 29.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/1.584, allocations: 0 / 1.37 GB, free: 29.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002344/1.584, allocations: 50.38 kB / 1.37 GB, free: 29.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/1.584, allocations: 52.53 kB / 1.37 GB, free: 29.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/1.584, allocations: 99.73 kB / 1.37 GB, free: 29.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/1.584, allocations: 25.7 kB / 1.37 GB, free: 29.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/1.584, allocations: 88.78 kB / 1.37 GB, free: 29.28 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/1.584, allocations: 12.84 kB / 1.37 GB, free: 29.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/1.585, allocations: 0 / 1.37 GB, free: 29.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/1.585, allocations: 315.5 kB / 1.37 GB, free: 28.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/1.585, allocations: 4 kB / 1.37 GB, free: 28.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/1.585, allocations: 4.562 kB / 1.37 GB, free: 28.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/1.585, allocations: 17.11 kB / 1.37 GB, free: 28.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.585, allocations: 0 / 1.37 GB, free: 28.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001184/1.585, allocations: 49.59 kB / 1.37 GB, free: 28.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.585, allocations: 8.594 kB / 1.37 GB, free: 28.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.585, allocations: 1.156 kB / 1.37 GB, free: 28.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.585, allocations: 0 / 1.37 GB, free: 28.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/1.585, allocations: 15.98 kB / 1.37 GB, free: 28.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.585, allocations: 1 kB / 1.37 GB, free: 28.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/1.585, allocations: 0 / 1.37 GB, free: 28.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/1.585, allocations: 0 / 1.37 GB, free: 28.85 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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 0.0001065/1.585, allocations: 116.9 kB / 1.37 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/1.585, allocations: 2.812 kB / 1.37 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/1.585, allocations: 74.06 kB / 1.37 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.585, allocations: 4.75 kB / 1.37 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.585, allocations: 0 / 1.37 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.586, allocations: 0.5 kB / 1.37 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.271e-05/1.586, allocations: 138.2 kB / 1.371 GB, free: 28.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.586, allocations: 4.031 kB / 1.371 GB, free: 28.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/1.586, allocations: 16.52 kB / 1.371 GB, free: 28.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.586, allocations: 0.5 kB / 1.371 GB, free: 28.47 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/1.586, allocations: 3.938 kB / 1.371 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.586, allocations: 4.5 kB / 1.371 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.586, allocations: 0.5312 kB / 1.371 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001455/1.586, allocations: 78.12 kB / 1.371 GB, free: 28.37 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002034/1.586, allocations: 463.2 kB / 1.371 GB, free: 27.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/1.586, allocations: 85.48 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/1.586, allocations: 4 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/1.586, allocations: 0.8125 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/1.586, allocations: 6.953 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/1.586, allocations: 0 / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.69e-05/1.586, allocations: 83.28 kB / 1.371 GB, free: 27.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000871/1.587, allocations: 52.77 kB / 1.371 GB, free: 27.65 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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.0003232/1.588, allocations: 166.1 kB / 1.371 GB, free: 27.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.588, allocations: 16 kB / 1.371 GB, free: 27.47 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.588, allocations: 0.9688 kB / 1.372 GB, free: 27.47 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/1.588, allocations: 8 kB / 1.372 GB, free: 27.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/1.588, allocations: 8.906 kB / 1.372 GB, free: 27.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/1.588, allocations: 64.59 kB / 1.372 GB, free: 27.37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/1.588, allocations: 0.7013 MB / 1.372 GB, free: 26.64 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/1.588, allocations: 0 / 1.372 GB, free: 26.64 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat