Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.005/1.005, allocations: 111.2 MB / 124.3 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.434e-05, allocations: 4 kB / 154.4 MB, free: 13.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1881, allocations: 25.14 MB / 179.5 MB, free: 0.8203 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08906/0.2772, allocations: 38.62 MB / 218.1 MB, free: 10.48 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.2776, allocations: 63.97 kB / 218.2 MB, free: 10.42 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0816/0.3592, allocations: 18.84 MB / 237 MB, free: 7.492 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3593, allocations: 0 / 237 MB, free: 7.492 MB / 202.7 MB Notification: Performance of Transformations before backend: time 8.949e-05/0.3594, allocations: 28 kB / 237.1 MB, free: 7.465 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003531/0.3629, allocations: 1.123 MB / 238.2 MB, free: 6.277 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.363, allocations: 12.03 kB / 238.2 MB, free: 6.266 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003741/0.3634, allocations: 120.4 kB / 238.3 MB, free: 6.137 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.3638, allocations: 122.7 kB / 238.4 MB, free: 6.016 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.3654, allocations: 0.5868 MB / 239 MB, free: 5.387 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.3658, allocations: 163.8 kB / 239.2 MB, free: 5.211 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.366, allocations: 64 kB / 239.2 MB, free: 5.148 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.3683, allocations: 0.9277 MB / 240.2 MB, free: 4.102 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.3683, allocations: 0 / 240.2 MB, free: 4.102 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.3685, allocations: 32 kB / 240.2 MB, free: 4.07 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.3685, allocations: 20 kB / 240.2 MB, free: 4.051 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.3704, allocations: 0.5623 MB / 240.8 MB, free: 3.488 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007252/0.3777, allocations: 2.825 MB / 243.6 MB, free: 472 kB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.162/0.5397, allocations: 0.884 MB / 244.5 MB, free: 46.06 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.541, allocations: 320.1 kB / 244.8 MB, free: 46.05 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.5411, allocations: 18.72 kB / 244.8 MB, free: 46.05 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5412, allocations: 45.41 kB / 244.9 MB, free: 46.02 MB / 202.7 MB Notification: Performance of pre-optimization done (n=72): time 3.727e-06/0.5412, allocations: 0 / 244.9 MB, free: 46.02 MB / 202.7 MB Notification: Performance of matching and sorting (n=72): time 0.002506/0.5437, allocations: 0.7221 MB / 245.6 MB, free: 45.92 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002469/0.544, allocations: 0.95 MB / 246.5 MB, free: 44.77 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter innerPipe.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter innerPipe.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter innerPipe.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter innerPipe.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter innerPipe.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter outerPipe.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter outerPipe.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter outerPipe.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter outerPipe.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter outerPipe.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter innerPump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe1.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient2.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter outerPump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient1.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.5454, allocations: 0.7095 MB / 247.3 MB, free: 44.64 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.5457, allocations: 43.23 kB / 247.3 MB, free: 44.61 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.546, allocations: 405.5 kB / 247.7 MB, free: 44.41 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.5462, allocations: 250.2 kB / 247.9 MB, free: 44.29 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.5463, allocations: 14.38 kB / 247.9 MB, free: 44.29 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.5464, allocations: 338.4 kB / 248.3 MB, free: 43.98 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/0.547, allocations: 228.5 kB / 248.5 MB, free: 43.98 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/0.5479, allocations: 0.5362 MB / 249 MB, free: 43.65 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.5487, allocations: 363.6 kB / 249.4 MB, free: 43.54 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5487, allocations: 0 / 249.4 MB, free: 43.54 MB / 202.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002261/0.551, allocations: 0.8691 MB / 250.3 MB, free: 43.34 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.551, allocations: 90.48 kB / 250.4 MB, free: 43.24 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5511, allocations: 2.781 kB / 250.4 MB, free: 43.24 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000904/0.552, allocations: 174.5 kB / 250.5 MB, free: 43.2 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5533, allocations: 159.5 kB / 250.7 MB, free: 43.2 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006693/0.56, allocations: 6.892 MB / 257.6 MB, free: 36.86 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5615, allocations: 124 kB / 257.7 MB, free: 36.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.5616, allocations: 25.47 kB / 257.7 MB, free: 36.84 MB / 202.7 MB Warning: Assuming fixed start value for the following 4 variables: innerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = innerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = TAmb unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 1,1 3,1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004241/0.562, allocations: 189.7 kB / 257.9 MB, free: 36.73 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.5623, allocations: 101.9 kB / 258 MB, free: 36.68 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.5625, allocations: 98.47 kB / 258.1 MB, free: 36.66 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.5625, allocations: 8.469 kB / 258.1 MB, free: 36.66 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.5626, allocations: 3.25 kB / 258.1 MB, free: 36.66 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.564, allocations: 0.9164 MB / 259 MB, free: 36.11 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.5678, allocations: 1.739 MB / 260.8 MB, free: 35.38 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5678, allocations: 3.953 kB / 260.8 MB, free: 35.38 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.5693, allocations: 164.8 kB / 260.9 MB, free: 35.38 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.5694, allocations: 28.03 kB / 261 MB, free: 35.36 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/0.5695, allocations: 21.58 kB / 261 MB, free: 35.35 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.5707, allocations: 1.437 MB / 262.4 MB, free: 33.94 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5707, allocations: 0 / 262.4 MB, free: 33.94 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5731, allocations: 1.006 MB / 263.4 MB, free: 33.43 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.5734, allocations: 180.9 kB / 263.6 MB, free: 33.28 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.5737, allocations: 21.75 kB / 263.6 MB, free: 33.27 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.5747, allocations: 58.97 kB / 263.7 MB, free: 33.25 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5748, allocations: 47.36 kB / 263.7 MB, free: 33.25 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.5749, allocations: 23.86 kB / 263.7 MB, free: 33.24 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0009342/0.5758, allocations: 0.5236 MB / 264.3 MB, free: 33 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5759, allocations: 0 / 264.3 MB, free: 33 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001241/0.5771, allocations: 315.1 kB / 264.6 MB, free: 32.97 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002609/0.5797, allocations: 1.584 MB / 266.2 MB, free: 31.92 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.5829, allocations: 1.364 MB / 267.5 MB, free: 30.94 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.583, allocations: 5.219 kB / 267.5 MB, free: 30.94 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.5838, allocations: 397 kB / 267.9 MB, free: 30.73 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004154/0.588, allocations: 0.4899 MB / 268.4 MB, free: 30.63 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.592, allocations: 1.436 MB / 269.8 MB, free: 29.98 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.5925, allocations: 0.9846 MB / 270.8 MB, free: 29.26 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007768/0.5933, allocations: 356.4 kB / 271.2 MB, free: 29.01 MB / 202.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5933, allocations: 0 / 271.2 MB, free: 29.01 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.453/4.046, allocations: 27.23 MB / 298.4 MB, free: 4.805 MB / 202.7 MB