Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7292/0.7292, allocations: 141.8 MB / 149.1 MB, free: 13.4 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 185.4 kB / 182 MB, free: 10.08 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 436 MB, free: 2.578 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 102.4 kB / 0.507 GB, free: 17.71 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00188/0.00188, allocations: 276.3 kB / 0.5885 GB, free: 4.074 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4624/0.4643, allocations: 89.71 MB / 0.6761 GB, free: 136.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.6121, allocations: 82.77 MB / 0.7569 GB, free: 83.51 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.7441, allocations: 112.3 MB / 0.8665 GB, free: 3.059 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.7444, allocations: 108.6 kB / 0.8667 GB, free: 2.953 MB / 0.5419 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.01885/0.7633, allocations: 6.292 MB / 0.8728 GB, free: 12.61 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.7633, allocations: 8 kB / 0.8728 GB, free: 12.6 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.7634, allocations: 7.906 kB / 0.8728 GB, free: 12.59 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7635, allocations: 167 kB / 0.873 GB, free: 12.39 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7636, allocations: 4 kB / 0.873 GB, free: 12.39 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.7636, allocations: 11.84 kB / 0.873 GB, free: 12.38 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.805e-05/0.7637, allocations: 15.92 kB / 0.873 GB, free: 12.36 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.7638, allocations: 37.64 kB / 0.873 GB, free: 12.32 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.7638, allocations: 0 / 0.873 GB, free: 12.32 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7638, allocations: 0 / 0.873 GB, free: 12.32 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.7638, allocations: 4 kB / 0.873 GB, free: 12.31 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.764, allocations: 138.3 kB / 0.8732 GB, free: 12.14 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/0.7641, allocations: 34.58 kB / 0.8732 GB, free: 12.1 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.7642, allocations: 12.89 kB / 0.8732 GB, free: 12.08 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.7652, allocations: 0.9818 MB / 0.8742 GB, free: 10.88 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.7653, allocations: 38.47 kB / 0.8742 GB, free: 10.83 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.7653, allocations: 3.938 kB / 0.8742 GB, free: 10.83 MB / 0.5575 GB Notification: Performance of matching and sorting (n=4): time 0.0002558/0.7655, allocations: 49.69 kB / 0.8743 GB, free: 10.77 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.7656, allocations: 51.41 kB / 0.8743 GB, free: 10.71 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.7657, allocations: 97 kB / 0.8744 GB, free: 10.61 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.7657, allocations: 25.7 kB / 0.8744 GB, free: 10.58 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.7657, allocations: 84.12 kB / 0.8745 GB, free: 10.49 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.7658, allocations: 11.81 kB / 0.8745 GB, free: 10.48 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.7658, allocations: 4 kB / 0.8745 GB, free: 10.48 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7659, allocations: 314.8 kB / 0.8748 GB, free: 10.16 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.766, allocations: 4 kB / 0.8748 GB, free: 10.16 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.766, allocations: 4.062 kB / 0.8748 GB, free: 10.15 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.766, allocations: 15.98 kB / 0.8748 GB, free: 10.14 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7661, allocations: 0 / 0.8748 GB, free: 10.14 MB / 0.5575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001163/0.7662, allocations: 53.53 kB / 0.8749 GB, free: 10.08 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7662, allocations: 4 kB / 0.8749 GB, free: 10.07 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7662, allocations: 0 / 0.8749 GB, free: 10.07 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.7662, allocations: 8 kB / 0.8749 GB, free: 10.07 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.7664, allocations: 11.98 kB / 0.8749 GB, free: 10.05 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.7664, allocations: 4 kB / 0.8749 GB, free: 10.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.7664, allocations: 192 / 0.8749 GB, free: 10.05 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.7665, allocations: 0 / 0.8749 GB, free: 10.05 MB / 0.5575 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 9.803e-05/0.7666, allocations: 112.9 kB / 0.875 GB, free: 9.934 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.7666, allocations: 7.984 kB / 0.875 GB, free: 9.926 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.7668, allocations: 69.09 kB / 0.8751 GB, free: 9.852 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7668, allocations: 4 kB / 0.8751 GB, free: 9.848 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7668, allocations: 3.938 kB / 0.8751 GB, free: 9.844 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7668, allocations: 0 / 0.8751 GB, free: 9.844 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.7671, allocations: 142.2 kB / 0.8752 GB, free: 9.668 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7671, allocations: 0 / 0.8752 GB, free: 9.668 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.7672, allocations: 15.98 kB / 0.8753 GB, free: 9.652 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7672, allocations: 4 kB / 0.8753 GB, free: 9.648 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7672, allocations: 3.938 kB / 0.8753 GB, free: 9.645 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7672, allocations: 3.906 kB / 0.8753 GB, free: 9.641 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7672, allocations: 0 / 0.8753 GB, free: 9.641 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001382/0.7673, allocations: 81.11 kB / 0.8754 GB, free: 9.543 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000229/0.7676, allocations: 461.4 kB / 0.8758 GB, free: 9.07 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.7676, allocations: 84.95 kB / 0.8759 GB, free: 8.969 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7677, allocations: 0 / 0.8759 GB, free: 8.969 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.7677, allocations: 0 / 0.8759 GB, free: 8.969 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.7677, allocations: 11.98 kB / 0.8759 GB, free: 8.957 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.7677, allocations: 0 / 0.8759 GB, free: 8.957 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.275e-05/0.7678, allocations: 83.28 kB / 0.876 GB, free: 8.875 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008619/0.7686, allocations: 51.83 kB / 0.876 GB, free: 8.824 MB / 0.5575 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.0003001/0.7689, allocations: 158.1 kB / 0.8762 GB, free: 8.664 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.769, allocations: 16 kB / 0.8762 GB, free: 8.648 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7691, allocations: 4 kB / 0.8762 GB, free: 8.645 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.7691, allocations: 11.94 kB / 0.8762 GB, free: 8.633 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.7693, allocations: 9.547 kB / 0.8762 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.7695, allocations: 63.92 kB / 0.8763 GB, free: 8.539 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.7698, allocations: 0.6954 MB / 0.8769 GB, free: 7.82 MB / 0.5575 GB Notification: Performance of SimCode: time 2.61e-07/0.7698, allocations: 0 / 0.8769 GB, free: 7.82 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)