Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.042/2.042, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 177.2 kB / 487 MB, free: 5.297 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.383/1.383, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 97.5 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5748/0.5758, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.8483, allocations: 142.3 MB / 1.205 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.748/1.596, allocations: 152.9 MB / 1.355 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.597, allocations: 114.4 kB / 1.355 GB, free: 16.15 MB / 0.8073 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.01959/1.616, allocations: 6.327 MB / 1.361 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.616, allocations: 9 kB / 1.361 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/1.616, allocations: 8.656 kB / 1.361 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/1.616, allocations: 163.6 kB / 1.361 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/1.617, allocations: 4 kB / 1.361 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/1.617, allocations: 4.562 kB / 1.361 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.984e-05/1.617, allocations: 16.5 kB / 1.361 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.673e-05/1.617, allocations: 40.48 kB / 1.361 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/1.617, allocations: 0 / 1.361 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.617, allocations: 0 / 1.361 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.617, allocations: 4 kB / 1.361 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/1.617, allocations: 138.5 kB / 1.361 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/1.617, allocations: 47.69 kB / 1.361 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/1.617, allocations: 12.89 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/1.618, allocations: 0.9835 MB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/1.618, allocations: 31.27 kB / 1.362 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.618, allocations: 3.938 kB / 1.362 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/1.618, allocations: 53.05 kB / 1.362 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.851e-05/1.618, allocations: 51.97 kB / 1.362 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/1.618, allocations: 101.7 kB / 1.363 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/1.618, allocations: 25.7 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/1.618, allocations: 81.31 kB / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/1.618, allocations: 20.73 kB / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/1.618, allocations: 0 / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.897e-05/1.618, allocations: 312.1 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/1.618, allocations: 4 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/1.618, allocations: 7.953 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/1.618, allocations: 10.72 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.618, allocations: 0 / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/1.618, allocations: 53.88 kB / 1.363 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.618, allocations: 7.938 kB / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.618, allocations: 0 / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.618, allocations: 8.562 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/1.619, allocations: 14.2 kB / 1.363 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.619, allocations: 0 / 1.363 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/1.619, allocations: 4.703 kB / 1.363 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.619, allocations: 0 / 1.363 GB, free: 12.38 MB / 0.8073 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 4.342e-05/1.619, allocations: 101 kB / 1.363 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/1.619, allocations: 8.703 kB / 1.363 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/1.619, allocations: 63.27 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.619, allocations: 4 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.619, allocations: 0.6094 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.619, allocations: 0 / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.486e-05/1.619, allocations: 138.3 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.619, allocations: 0 / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/1.619, allocations: 18.33 kB / 1.363 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.619, allocations: 4.656 kB / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/1.619, allocations: 0 / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.619, allocations: 0 / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.619, allocations: 3.938 kB / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001071/1.619, allocations: 81.67 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001513/1.619, allocations: 465.9 kB / 1.364 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/1.619, allocations: 89.72 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.619, allocations: 0.5625 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/1.619, allocations: 0 / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/1.619, allocations: 8.797 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/1.619, allocations: 8.562 kB / 1.364 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.171e-05/1.619, allocations: 83.42 kB / 1.364 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008713/1.62, allocations: 46.8 kB / 1.364 GB, free: 11.23 MB / 0.8073 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.0002415/1.621, allocations: 159.5 kB / 1.364 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.247e-05/1.621, allocations: 16.44 kB / 1.364 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.621, allocations: 0 / 1.364 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/1.621, allocations: 12.5 kB / 1.364 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/1.621, allocations: 13.66 kB / 1.364 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/1.621, allocations: 64.28 kB / 1.364 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.621, allocations: 0.6935 MB / 1.365 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/1.621, allocations: 0 / 1.365 GB, free: 10.25 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat