Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.003448/0.003448, allocations: 179.7 kB / 7.454 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7003/0.7003, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.469/1.469, allocations: 221.3 MB / 395 MB, free: 10.3 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.001163/0.001163, allocations: 89.44 kB / 477.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5118/0.513, allocations: 88.47 MB / 0.553 GB, free: 88.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.7059, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6142/1.32, allocations: 119 MB / 0.7496 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/1.321, allocations: 104.2 kB / 0.7497 GB, free: 10.77 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.05492/1.376, allocations: 18.27 MB / 0.7675 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/1.376, allocations: 9.125 kB / 0.7676 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/1.376, allocations: 44.34 kB / 0.7676 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/1.376, allocations: 351 kB / 0.7679 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.376, allocations: 18.17 kB / 0.7679 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/1.377, allocations: 12.19 kB / 0.768 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003542/1.377, allocations: 122.2 kB / 0.7681 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/1.377, allocations: 157.6 kB / 0.7682 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.377, allocations: 0 / 0.7682 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/1.377, allocations: 3.984 kB / 0.7682 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.377, allocations: 5.375 kB / 0.7682 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/1.379, allocations: 0.819 MB / 0.769 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/1.379, allocations: 107.9 kB / 0.7691 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/1.379, allocations: 97.25 kB / 0.7692 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/1.379, allocations: 5.781 kB / 0.7692 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/1.379, allocations: 31.59 kB / 0.7693 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/1.379, allocations: 0 / 0.7693 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003731/1.38, allocations: 156 kB / 0.7694 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.38, allocations: 54.62 kB / 0.7695 GB, free: 20 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/1.38, allocations: 329.2 kB / 0.7698 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/1.38, allocations: 25.7 kB / 0.7698 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.38, allocations: 153.9 kB / 0.7699 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/1.38, allocations: 61.69 kB / 0.77 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.38, allocations: 0 / 0.77 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.381, allocations: 350.6 kB / 0.7703 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/1.381, allocations: 41.53 kB / 0.7704 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/1.381, allocations: 42.86 kB / 0.7704 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/1.381, allocations: 49.73 kB / 0.7705 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.381, allocations: 0 / 0.7705 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003583/1.381, allocations: 160.4 kB / 0.7706 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.381, allocations: 8.906 kB / 0.7706 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.381, allocations: 7.969 kB / 0.7706 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.381, allocations: 6.188 kB / 0.7706 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/1.382, allocations: 54.38 kB / 0.7707 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.382, allocations: 5.156 kB / 0.7707 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/1.382, allocations: 26.83 kB / 0.7707 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1.382, allocations: 4.125 kB / 0.7707 GB, free: 19.23 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 (20): * Single equations (assignments): 20 * 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.175e-05/1.382, allocations: 104.1 kB / 0.7708 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/1.382, allocations: 31.88 kB / 0.7709 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/1.382, allocations: 39 kB / 0.7709 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.382, allocations: 5.594 kB / 0.7709 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.382, allocations: 1.5 kB / 0.7709 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.382, allocations: 7.984 kB / 0.7709 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/1.383, allocations: 332.5 kB / 0.7712 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.383, allocations: 3.984 kB / 0.7712 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/1.383, allocations: 60.84 kB / 0.7713 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.383, allocations: 1.094 kB / 0.7713 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.383, allocations: 0 / 0.7713 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.383, allocations: 1.25 kB / 0.7713 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.383, allocations: 4 kB / 0.7713 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004769/1.383, allocations: 326.7 kB / 0.7716 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000737/1.384, allocations: 0.7642 MB / 0.7724 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/1.384, allocations: 119.2 kB / 0.7725 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/1.384, allocations: 1 kB / 0.7725 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.385, allocations: 16.27 kB / 0.7725 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/1.385, allocations: 11.55 kB / 0.7725 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/1.385, allocations: 2.469 kB / 0.7725 GB, free: 18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004072/1.385, allocations: 262.2 kB / 0.7727 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001029/1.386, allocations: 86.03 kB / 0.7728 GB, free: 17.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005745/1.387, allocations: 267.1 kB / 0.7731 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002894/1.387, allocations: 110.5 kB / 0.7732 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.387, allocations: 0 / 0.7732 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.387, allocations: 62.69 kB / 0.7733 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/1.388, allocations: 70.56 kB / 0.7733 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.389, allocations: 0.5138 MB / 0.7738 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/1.389, allocations: 0.8378 MB / 0.7746 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.389, allocations: 0 / 0.7746 GB, free: 16.66 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)