Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.003872/0.003872, allocations: 181.2 kB / 7.456 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7148/0.7148, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.51/1.51, allocations: 221.3 MB / 395 MB, free: 10.23 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.001152/0.001152, allocations: 101 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4203/0.4215, allocations: 88.49 MB / 0.553 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.5896, allocations: 82.3 MB / 0.6334 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6425/1.232, allocations: 114.9 MB / 0.7456 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.232, allocations: 116 kB / 0.7457 GB, free: 10.57 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.01976/1.252, allocations: 6.303 MB / 0.7519 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.252, allocations: 8.844 kB / 0.7519 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/1.252, allocations: 2.203 kB / 0.7519 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/1.252, allocations: 171.1 kB / 0.7521 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.253, allocations: 0 / 0.7521 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/1.253, allocations: 6.047 kB / 0.7521 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.798e-05/1.253, allocations: 12.61 kB / 0.7521 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.016e-05/1.253, allocations: 37.86 kB / 0.7521 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.253, allocations: 3.938 kB / 0.7521 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/1.253, allocations: 2.234 kB / 0.7521 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.253, allocations: 0 / 0.7521 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/1.253, allocations: 140.5 kB / 0.7522 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/1.253, allocations: 38.33 kB / 0.7523 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/1.253, allocations: 14.81 kB / 0.7523 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.254, allocations: 0.9773 MB / 0.7533 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.254, allocations: 35.81 kB / 0.7533 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.254, allocations: 0 / 0.7533 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002524/1.255, allocations: 57.81 kB / 0.7533 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.255, allocations: 52.02 kB / 0.7534 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/1.255, allocations: 97.83 kB / 0.7535 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.255, allocations: 26.95 kB / 0.7535 GB, free: 24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/1.255, allocations: 80.75 kB / 0.7536 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/1.255, allocations: 14.84 kB / 0.7536 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/1.255, allocations: 4 kB / 0.7536 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.255, allocations: 318 kB / 0.7539 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.255, allocations: 7.562 kB / 0.7539 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/1.255, allocations: 3.812 kB / 0.7539 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/1.255, allocations: 9.531 kB / 0.7539 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.255, allocations: 1.25 kB / 0.7539 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/1.255, allocations: 52.84 kB / 0.754 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.255, allocations: 6 kB / 0.754 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.255, allocations: 320 / 0.754 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.255, allocations: 1.344 kB / 0.754 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/1.255, allocations: 26.36 kB / 0.754 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/1.255, allocations: 0 / 0.754 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/1.255, allocations: 0.6094 kB / 0.754 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/1.255, allocations: 5.391 kB / 0.754 GB, free: 23.54 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 6.795e-05/1.256, allocations: 102.9 kB / 0.7541 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/1.256, allocations: 6.781 kB / 0.7541 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/1.256, allocations: 63.33 kB / 0.7542 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.256, allocations: 1.375 kB / 0.7542 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.256, allocations: 4 kB / 0.7542 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.256, allocations: 1.312 kB / 0.7542 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/1.256, allocations: 143.3 kB / 0.7543 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.256, allocations: 1.219 kB / 0.7543 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/1.256, allocations: 17.83 kB / 0.7543 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.256, allocations: 4.547 kB / 0.7543 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/1.256, allocations: 1.25 kB / 0.7543 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.256, allocations: 4.594 kB / 0.7544 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.256, allocations: 0 / 0.7544 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001801/1.256, allocations: 80.92 kB / 0.7544 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000266/1.256, allocations: 462 kB / 0.7549 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/1.257, allocations: 79.3 kB / 0.7549 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/1.257, allocations: 5.25 kB / 0.755 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/1.257, allocations: 0.7031 kB / 0.755 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/1.257, allocations: 1.828 kB / 0.755 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/1.257, allocations: 5.828 kB / 0.755 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.237e-05/1.257, allocations: 85.55 kB / 0.755 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008507/1.258, allocations: 54.69 kB / 0.7551 GB, free: 22.5 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.000318/1.258, allocations: 159.2 kB / 0.7552 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.2e-05/1.258, allocations: 18.2 kB / 0.7553 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.258, allocations: 0 / 0.7553 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/1.258, allocations: 7.875 kB / 0.7553 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/1.258, allocations: 10.38 kB / 0.7553 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/1.258, allocations: 78.58 kB / 0.7554 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.259, allocations: 0.6932 MB / 0.756 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/1.259, allocations: 0 / 0.756 GB, free: 21.61 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)