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.05/1.05, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 8 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.07025, allocations: 25.17 MB / 183.6 MB, free: 5.863 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/0.3216, allocations: 38.71 MB / 222.3 MB, free: 4.984 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/0.322, allocations: 68.48 kB / 222.4 MB, free: 4.973 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07796/0.4, allocations: 18.84 MB / 241.2 MB, free: 7.383 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4001, allocations: 0 / 241.2 MB, free: 7.383 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.599e-05/0.4002, allocations: 24 kB / 241.2 MB, free: 7.359 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.004094/0.4043, allocations: 1.265 MB / 242.5 MB, free: 6.102 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.4044, allocations: 8.031 kB / 242.5 MB, free: 6.094 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005092/0.4049, allocations: 132.8 kB / 242.6 MB, free: 5.996 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.4053, allocations: 122.7 kB / 242.7 MB, free: 5.875 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.4071, allocations: 0.5865 MB / 243.3 MB, free: 5.348 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.4075, allocations: 157.8 kB / 243.5 MB, free: 5.203 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.4077, allocations: 73.66 kB / 243.6 MB, free: 5.152 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.4104, allocations: 0.9759 MB / 244.5 MB, free: 4.309 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.4105, allocations: 0 / 244.5 MB, free: 4.309 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.4107, allocations: 41.5 kB / 244.6 MB, free: 4.293 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.4107, allocations: 20 kB / 244.6 MB, free: 4.273 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.4131, allocations: 0.6474 MB / 245.2 MB, free: 3.82 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007018/0.4202, allocations: 2.819 MB / 248.1 MB, free: 1.453 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.4255, allocations: 0.9443 MB / 249 MB, free: 0.543 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.4257, allocations: 20.58 kB / 249 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.4258, allocations: 51.2 kB / 249.1 MB, free: 476 kB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/0.4258, allocations: 0 / 249.1 MB, free: 476 kB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.006315/0.4322, allocations: 1.462 MB / 250.5 MB, free: 14.88 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006518/0.4329, allocations: 0.9528 MB / 251.5 MB, free: 13.7 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.002296/0.4352, allocations: 0.7095 MB / 252.2 MB, free: 12.99 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.4354, allocations: 45.7 kB / 252.2 MB, free: 12.94 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.436, allocations: 403 kB / 252.6 MB, free: 12.55 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.4365, allocations: 252.3 kB / 252.9 MB, free: 12.3 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.4366, allocations: 16 kB / 252.9 MB, free: 12.28 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4368, allocations: 334.8 kB / 253.2 MB, free: 11.95 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4383, allocations: 269.8 kB / 253.5 MB, free: 11.68 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4404, allocations: 0.5798 MB / 254.1 MB, free: 10.98 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.4422, allocations: 422.4 kB / 254.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4423, allocations: 0 / 254.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004276/0.4466, allocations: 0.9282 MB / 255.4 MB, free: 9.582 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.4467, allocations: 89.09 kB / 255.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4467, allocations: 4 kB / 255.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.4474, allocations: 124.2 kB / 255.6 MB, free: 9.336 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.4492, allocations: 159.8 kB / 255.8 MB, free: 9.18 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.4609, allocations: 6.979 MB / 262.8 MB, free: 1.531 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.4629, allocations: 123.5 kB / 262.9 MB, free: 1.41 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4631, allocations: 20 kB / 262.9 MB, free: 1.391 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" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" fixed = true 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" fixed = true 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 () * Number of clocked 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,3 1,1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.4642, allocations: 275.7 kB / 263.2 MB, free: 1.109 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.4646, allocations: 98.83 kB / 263.3 MB, free: 1.012 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.465, allocations: 100.5 kB / 263.4 MB, free: 0.9062 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.465, allocations: 4 kB / 263.4 MB, free: 0.9023 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.4651, allocations: 4 kB / 263.4 MB, free: 0.8984 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00336/0.4684, allocations: 0.9973 MB / 264.4 MB, free: 15.79 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.4753, allocations: 1.824 MB / 266.2 MB, free: 13.88 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.4754, allocations: 3.953 kB / 266.2 MB, free: 13.88 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.4775, allocations: 163.8 kB / 266.4 MB, free: 13.71 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.4777, allocations: 28.84 kB / 266.4 MB, free: 13.68 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.4778, allocations: 19.98 kB / 266.4 MB, free: 13.66 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.48, allocations: 1.452 MB / 267.9 MB, free: 12.08 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4801, allocations: 0 / 267.9 MB, free: 12.08 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.4852, allocations: 1.119 MB / 269 MB, free: 10.95 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.4858, allocations: 183.8 kB / 269.2 MB, free: 10.75 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003517/0.4862, allocations: 24 kB / 269.2 MB, free: 10.72 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.4876, allocations: 55.81 kB / 269.2 MB, free: 10.67 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.4878, allocations: 48.55 kB / 269.3 MB, free: 10.62 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.4879, allocations: 23.92 kB / 269.3 MB, free: 10.6 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001603/0.4895, allocations: 0.538 MB / 269.8 MB, free: 10.06 MB / 218.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4896, allocations: 0 / 269.8 MB, free: 10.06 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002292/0.4919, allocations: 323.9 kB / 270.2 MB, free: 9.746 MB / 218.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 () * Number of clocked 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.005798/0.4977, allocations: 1.695 MB / 271.9 MB, free: 8.02 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004711/0.5025, allocations: 1.433 MB / 273.3 MB, free: 6.488 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/0.5025, allocations: 4.25 kB / 273.3 MB, free: 6.484 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.5042, allocations: 446.2 kB / 273.7 MB, free: 6.031 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004956/0.5092, allocations: 488.3 kB / 274.2 MB, free: 5.555 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.5168, allocations: 3.047 MB / 277.2 MB, free: 2.43 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.5176, allocations: 0.9915 MB / 278.2 MB, free: 1.41 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009954/0.5186, allocations: 355.3 kB / 278.6 MB, free: 1.062 MB / 218.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5186, allocations: 3.938 kB / 278.6 MB, free: 1.059 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.635/4.153, allocations: 26.82 MB / 305.4 MB, free: 64.58 MB / 234.7 MB