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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.089/1.089, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.387e-05, allocations: 4 kB / 148.2 MB, free: 6.121 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05385/0.0539, allocations: 25.16 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.2731, allocations: 37.95 MB / 211.3 MB, free: 4.621 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.2734, allocations: 67.34 kB / 211.4 MB, free: 4.621 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07353/0.347, allocations: 18.61 MB / 230 MB, free: 14.82 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.347, allocations: 0 / 230 MB, free: 14.82 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.902e-05/0.3471, allocations: 23.06 kB / 230 MB, free: 14.82 MB / 186.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.003579/0.3507, allocations: 1.135 MB / 231.2 MB, free: 14 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3508, allocations: 7.188 kB / 231.2 MB, free: 14 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.3513, allocations: 122.8 kB / 231.3 MB, free: 13.95 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.3531, allocations: 0.5692 MB / 231.9 MB, free: 13.59 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.3534, allocations: 135.4 kB / 232 MB, free: 13.49 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.3536, allocations: 46.12 kB / 232 MB, free: 13.48 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001529/0.3552, allocations: 0.5171 MB / 232.6 MB, free: 13.45 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.357, allocations: 0.8078 MB / 233.4 MB, free: 12.93 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.3571, allocations: 4 kB / 233.4 MB, free: 12.92 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.3573, allocations: 4 kB / 233.4 MB, free: 12.92 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.3573, allocations: 16 kB / 233.4 MB, free: 12.9 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007309/0.3647, allocations: 2.65 MB / 236 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/0.3695, allocations: 0.8545 MB / 236.9 MB, free: 10.05 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.3706, allocations: 296 kB / 237.2 MB, free: 9.863 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3707, allocations: 18.45 kB / 237.2 MB, free: 9.852 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.3708, allocations: 50.59 kB / 237.2 MB, free: 9.801 MB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 4.238e-06/0.3708, allocations: 0 / 237.2 MB, free: 9.801 MB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.00251/0.3733, allocations: 0.6662 MB / 237.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004831/0.3739, allocations: 0.9491 MB / 238.9 MB, free: 8.105 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.001471/0.3754, allocations: 0.5851 MB / 239.4 MB, free: 7.668 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/0.3757, allocations: 25.7 kB / 239.5 MB, free: 7.637 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.3762, allocations: 421.2 kB / 239.9 MB, free: 7.234 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/0.3766, allocations: 244.3 kB / 240.1 MB, free: 6.992 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.3767, allocations: 4 kB / 240.1 MB, free: 6.988 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3769, allocations: 342.8 kB / 240.5 MB, free: 6.645 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.3775, allocations: 201.6 kB / 240.7 MB, free: 6.445 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.3786, allocations: 0.5217 MB / 241.2 MB, free: 5.801 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.3795, allocations: 263.5 kB / 241.4 MB, free: 5.543 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3795, allocations: 0 / 241.4 MB, free: 5.543 MB / 186.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002368/0.3819, allocations: 0.7267 MB / 242.2 MB, free: 4.793 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.382, allocations: 89.11 kB / 242.2 MB, free: 4.688 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.382, allocations: 3.938 kB / 242.3 MB, free: 4.688 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009867/0.383, allocations: 164.2 kB / 242.4 MB, free: 4.512 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.3845, allocations: 159.8 kB / 242.6 MB, free: 4.355 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008588/0.3931, allocations: 6.706 MB / 249.3 MB, free: 13.06 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.3946, allocations: 91.31 kB / 249.4 MB, free: 12.97 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.3948, allocations: 23.98 kB / 249.4 MB, free: 12.95 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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.0004875/0.3953, allocations: 160 kB / 249.5 MB, free: 12.79 MB / 202.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002312/0.3976, allocations: 0.6635 MB / 250.2 MB, free: 12.1 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.398, allocations: 98.92 kB / 250.3 MB, free: 12 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.3983, allocations: 75.86 kB / 250.4 MB, free: 11.92 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.3984, allocations: 11.94 kB / 250.4 MB, free: 11.91 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3984, allocations: 0 / 250.4 MB, free: 11.91 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001737/0.4001, allocations: 0.8793 MB / 251.3 MB, free: 10.92 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/0.4045, allocations: 1.596 MB / 252.9 MB, free: 9.273 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4045, allocations: 0 / 252.9 MB, free: 9.273 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.4061, allocations: 163.8 kB / 253 MB, free: 9.113 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.4063, allocations: 32.8 kB / 253.1 MB, free: 9.078 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.925e-05/0.4064, allocations: 7.984 kB / 253.1 MB, free: 9.07 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.408, allocations: 1.392 MB / 254.5 MB, free: 7.562 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.4081, allocations: 3.938 kB / 254.5 MB, free: 7.559 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.4106, allocations: 0.9359 MB / 255.4 MB, free: 6.605 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.4111, allocations: 168.1 kB / 255.6 MB, free: 6.422 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4113, allocations: 12 kB / 255.6 MB, free: 6.41 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.4123, allocations: 39.81 kB / 255.6 MB, free: 6.371 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.4125, allocations: 40.72 kB / 255.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.4126, allocations: 19.98 kB / 255.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0009155/0.4135, allocations: 443.2 kB / 256.1 MB, free: 5.883 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4136, allocations: 3.938 kB / 256.1 MB, free: 5.879 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001573/0.4151, allocations: 295.7 kB / 256.4 MB, free: 5.59 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.003075/0.4182, allocations: 1.5 MB / 257.9 MB, free: 4.059 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.4222, allocations: 1.29 MB / 259.2 MB, free: 2.684 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4222, allocations: 0 / 259.2 MB, free: 2.684 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4233, allocations: 387.8 kB / 259.6 MB, free: 2.297 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/0.4278, allocations: 448.4 kB / 260 MB, free: 1.859 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.4328, allocations: 1.335 MB / 261.3 MB, free: 484 kB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.4337, allocations: 0.9838 MB / 262.3 MB, free: 15.46 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009391/0.4346, allocations: 343.3 kB / 262.7 MB, free: 15.12 MB / 218.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4347, allocations: 0 / 262.7 MB, free: 15.12 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.278/3.713, allocations: 26.36 MB / 289 MB, free: 4.719 MB / 234.7 MB