Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004164/0.004164, allocations: 184.6 kB / 7.463 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7721/0.7721, allocations: 133.5 MB / 141.4 MB, free: 15.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 93.06 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4835/0.4848, allocations: 88.5 MB / 0.553 GB, free: 88.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.7329, allocations: 82.3 MB / 0.6334 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6756/1.409, allocations: 114.9 MB / 0.7456 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.409, allocations: 109.8 kB / 0.7457 GB, free: 10.63 MB / 0.4948 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.01862/1.428, allocations: 6.3 MB / 0.7519 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.428, allocations: 9.25 kB / 0.7519 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/1.428, allocations: 2.031 kB / 0.7519 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/1.428, allocations: 171.3 kB / 0.7521 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.428, allocations: 1.344 kB / 0.7521 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/1.428, allocations: 1.375 kB / 0.7521 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.713e-05/1.428, allocations: 12.19 kB / 0.7521 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/1.428, allocations: 34.55 kB / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/1.428, allocations: 0 / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.428, allocations: 7.938 kB / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.428, allocations: 1.438 kB / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/1.428, allocations: 143 kB / 0.7522 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/1.428, allocations: 41.22 kB / 0.7523 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/1.428, allocations: 11.45 kB / 0.7523 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/1.429, allocations: 0.9803 MB / 0.7533 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.429, allocations: 32.39 kB / 0.7533 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.429, allocations: 0 / 0.7533 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002278/1.43, allocations: 57.08 kB / 0.7533 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/1.43, allocations: 52.72 kB / 0.7534 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/1.43, allocations: 96.75 kB / 0.7535 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/1.43, allocations: 25.7 kB / 0.7535 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/1.43, allocations: 82.03 kB / 0.7536 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/1.43, allocations: 14.69 kB / 0.7536 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.43, allocations: 0 / 0.7536 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.43, allocations: 321.7 kB / 0.7539 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/1.43, allocations: 3.5 kB / 0.7539 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/1.43, allocations: 8.25 kB / 0.7539 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.787e-05/1.43, allocations: 14.61 kB / 0.7539 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.43, allocations: 3.938 kB / 0.7539 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/1.43, allocations: 50.03 kB / 0.754 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.43, allocations: 5.797 kB / 0.754 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/1.43, allocations: 0 / 0.754 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.43, allocations: 1.875 kB / 0.754 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.43, allocations: 20.98 kB / 0.754 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/1.43, allocations: 1.25 kB / 0.754 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/1.43, allocations: 0.7031 kB / 0.754 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/1.43, allocations: 5.188 kB / 0.754 GB, free: 23.61 MB / 0.5105 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 8.177e-05/1.431, allocations: 105.2 kB / 0.7541 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/1.431, allocations: 7.031 kB / 0.7541 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/1.431, allocations: 69.25 kB / 0.7542 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.431, allocations: 0 / 0.7542 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.431, allocations: 0.5625 kB / 0.7542 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.431, allocations: 1.219 kB / 0.7542 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/1.431, allocations: 139.9 kB / 0.7543 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.431, allocations: 4.656 kB / 0.7543 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/1.431, allocations: 17.23 kB / 0.7543 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.431, allocations: 0.5156 kB / 0.7543 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.431, allocations: 1.219 kB / 0.7543 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.431, allocations: 0 / 0.7543 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.431, allocations: 1.922 kB / 0.7544 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000127/1.431, allocations: 79.2 kB / 0.7544 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002381/1.431, allocations: 471 kB / 0.7549 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/1.431, allocations: 78.48 kB / 0.755 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/1.431, allocations: 3.906 kB / 0.755 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/1.432, allocations: 1.219 kB / 0.755 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/1.432, allocations: 1.344 kB / 0.755 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/1.432, allocations: 2.078 kB / 0.755 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.836e-05/1.432, allocations: 81.28 kB / 0.755 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008801/1.432, allocations: 54.88 kB / 0.7551 GB, free: 22.58 MB / 0.5105 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.0002676/1.433, allocations: 157 kB / 0.7552 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.565e-05/1.433, allocations: 20.89 kB / 0.7553 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.433, allocations: 0 / 0.7553 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/1.433, allocations: 9.703 kB / 0.7553 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/1.433, allocations: 4.391 kB / 0.7553 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/1.433, allocations: 81.09 kB / 0.7553 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.434, allocations: 0.6966 MB / 0.756 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.434, allocations: 0 / 0.756 GB, free: 21.69 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)