Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.003698/0.003698, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6884/0.6884, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.555/1.555, allocations: 221.3 MB / 395 MB, free: 10.22 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.001353/0.001353, allocations: 105.6 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4466/0.448, allocations: 88.47 MB / 0.553 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.6346, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5851/1.22, allocations: 121.2 MB / 0.7517 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/1.22, allocations: 107.1 kB / 0.7518 GB, free: 10.68 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0674/1.288, allocations: 22.45 MB / 0.7737 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.288, allocations: 12.22 kB / 0.7737 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/1.288, allocations: 76.31 kB / 0.7738 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/1.289, allocations: 432 kB / 0.7742 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/1.289, allocations: 18.22 kB / 0.7742 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/1.289, allocations: 31.17 kB / 0.7743 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005905/1.289, allocations: 305.9 kB / 0.7745 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/1.29, allocations: 325.8 kB / 0.7749 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.29, allocations: 7.906 kB / 0.7749 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/1.29, allocations: 0.7188 kB / 0.7749 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/1.29, allocations: 11.94 kB / 0.7749 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/1.293, allocations: 1.454 MB / 0.7763 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/1.293, allocations: 257.1 kB / 0.7765 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/1.294, allocations: 278.1 kB / 0.7768 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/1.294, allocations: 4.781 kB / 0.7768 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.294, allocations: 35.56 kB / 0.7768 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.295e-06/1.294, allocations: 0.9688 kB / 0.7768 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0006787/1.294, allocations: 308.8 kB / 0.7771 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.294, allocations: 60.03 kB / 0.7772 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/1.295, allocations: 372 kB / 0.7775 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/1.295, allocations: 25.7 kB / 0.7776 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/1.295, allocations: 211.5 kB / 0.7778 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.295, allocations: 152.1 kB / 0.7779 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/1.295, allocations: 0 / 0.7779 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.296, allocations: 356.2 kB / 0.7783 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/1.296, allocations: 99.5 kB / 0.7784 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/1.296, allocations: 99.19 kB / 0.7785 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/1.296, allocations: 119.5 kB / 0.7786 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.296, allocations: 0.875 kB / 0.7786 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005717/1.297, allocations: 336 kB / 0.7789 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.297, allocations: 5.188 kB / 0.7789 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.297, allocations: 0.875 kB / 0.7789 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.297, allocations: 2.672 kB / 0.7789 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/1.297, allocations: 130.1 kB / 0.779 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.298, allocations: 5.594 kB / 0.779 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/1.298, allocations: 37.41 kB / 0.7791 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/1.298, allocations: 10.56 kB / 0.7791 GB, free: 16.49 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 (46): * Single equations (assignments): 46 * 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.0001069/1.298, allocations: 118.5 kB / 0.7792 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/1.298, allocations: 45.19 kB / 0.7792 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/1.298, allocations: 59.55 kB / 0.7793 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.298, allocations: 4 kB / 0.7793 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.298, allocations: 0 / 0.7793 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.298, allocations: 0 / 0.7793 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/1.299, allocations: 0.4926 MB / 0.7798 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.299, allocations: 3.984 kB / 0.7798 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/1.299, allocations: 134.7 kB / 0.7799 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.3, allocations: 7.984 kB / 0.7799 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/1.3, allocations: 0 / 0.7799 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.3, allocations: 3.906 kB / 0.7799 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.3, allocations: 0 / 0.7799 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006849/1.3, allocations: 0.5716 MB / 0.7805 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001046/1.301, allocations: 1.111 MB / 0.7816 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/1.301, allocations: 132.3 kB / 0.7817 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/1.302, allocations: 3.438 kB / 0.7817 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.302, allocations: 23.89 kB / 0.7817 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/1.302, allocations: 19.95 kB / 0.7817 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.302, allocations: 11.38 kB / 0.7817 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003417/1.302, allocations: 296.1 kB / 0.782 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001185/1.303, allocations: 142 kB / 0.7822 GB, free: 13.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004499/1.304, allocations: 265.2 kB / 0.7824 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004913/1.304, allocations: 279.1 kB / 0.7827 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.304, allocations: 0 / 0.7827 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/1.305, allocations: 160.7 kB / 0.7828 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/1.305, allocations: 76.42 kB / 0.7829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/1.307, allocations: 0.8871 MB / 0.7838 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007261/1.308, allocations: 0.9384 MB / 0.7847 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/1.308, allocations: 0 / 0.7847 GB, free: 11.57 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)