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.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.083/1.083, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.313e-05, allocations: 4 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1886, allocations: 25.16 MB / 179.5 MB, free: 0.8203 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07035/0.259, allocations: 38.54 MB / 218.1 MB, free: 10.55 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.2593, allocations: 67.97 kB / 218.1 MB, free: 10.48 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04359/0.3029, allocations: 10.14 MB / 228.3 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.303, allocations: 4 kB / 228.3 MB, free: 292 kB / 186.7 MB Notification: Performance of Transformations before backend: time 3.867e-05/0.303, allocations: 8 kB / 228.3 MB, free: 284 kB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001842/0.3049, allocations: 0.7492 MB / 229 MB, free: 15.48 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.305, allocations: 8.031 kB / 229 MB, free: 15.47 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.3051, allocations: 83.22 kB / 229.1 MB, free: 15.38 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3053, allocations: 59.34 kB / 229.2 MB, free: 15.32 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.3062, allocations: 409.6 kB / 229.6 MB, free: 14.88 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3064, allocations: 62.47 kB / 229.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-05/0.3065, allocations: 40 kB / 229.7 MB, free: 14.77 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3076, allocations: 480.5 kB / 230.1 MB, free: 14.25 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3077, allocations: 0 / 230.1 MB, free: 14.25 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.3077, allocations: 19.95 kB / 230.2 MB, free: 14.23 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.3078, allocations: 8 kB / 230.2 MB, free: 14.22 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.3087, allocations: 299 kB / 230.5 MB, free: 13.93 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.3124, allocations: 1.467 MB / 231.9 MB, free: 12.37 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.3138, allocations: 451.3 kB / 232.4 MB, free: 11.9 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.3142, allocations: 152.9 kB / 232.5 MB, free: 11.75 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.3143, allocations: 11.98 kB / 232.5 MB, free: 11.74 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.3143, allocations: 46.48 kB / 232.6 MB, free: 11.68 MB / 202.7 MB Notification: Performance of pre-optimization done (n=38): time 2.915e-06/0.3144, allocations: 0 / 232.6 MB, free: 11.68 MB / 202.7 MB Notification: Performance of matching and sorting (n=38): time 0.001359/0.3157, allocations: 399.3 kB / 233 MB, free: 11.28 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.316, allocations: 444.9 kB / 233.4 MB, free: 10.74 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1121:9-1123:45:writable] Warning: Parameter volumeFlow.duration_2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1119:9-1120:45:writable] Warning: Parameter volumeFlow.height_2 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:1116:9-1118:45:writable] Warning: Parameter volumeFlow.duration_1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1114:9-1115:45:writable] Warning: Parameter volumeFlow.height_1 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:1112:9-1113:66:writable] Warning: Parameter volumeFlow.interval has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1110:9-1111:34:writable] Warning: Parameter volumeFlow.startTime has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1109:9-1109:57:writable] Warning: Parameter volumeFlow.offset 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 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:1309:7-1310:76:writable] Warning: Parameter pipe.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 pipe.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 pipe.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 pipe.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 pipe.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 pump.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.0009931/0.317, allocations: 453.7 kB / 233.8 MB, free: 10.3 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.3171, allocations: 33.7 kB / 233.9 MB, free: 10.26 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.3173, allocations: 282.9 kB / 234.2 MB, free: 9.977 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3175, allocations: 126.1 kB / 234.3 MB, free: 9.852 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.3175, allocations: 12 kB / 234.3 MB, free: 9.84 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3177, allocations: 326.8 kB / 234.6 MB, free: 9.512 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.3181, allocations: 105.1 kB / 234.7 MB, free: 9.41 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.3186, allocations: 254.5 kB / 235 MB, free: 9.109 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3191, allocations: 169.7 kB / 235.1 MB, free: 8.938 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3191, allocations: 0 / 235.1 MB, free: 8.938 MB / 202.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00127/0.3204, allocations: 416.7 kB / 235.5 MB, free: 8.512 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.3205, allocations: 35.73 kB / 235.6 MB, free: 8.473 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3205, allocations: 0 / 235.6 MB, free: 8.473 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.3209, allocations: 53.69 kB / 235.6 MB, free: 8.414 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.3217, allocations: 99.88 kB / 235.7 MB, free: 8.316 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.325, allocations: 2.744 MB / 238.5 MB, free: 5.309 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.3258, allocations: 75.55 kB / 238.5 MB, free: 5.234 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.3259, allocations: 8 kB / 238.5 MB, free: 5.227 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.3262, allocations: 153.3 kB / 238.7 MB, free: 5.07 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3263, allocations: 55.34 kB / 238.7 MB, free: 5.016 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.3265, allocations: 52.98 kB / 238.8 MB, free: 4.957 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3265, allocations: 4 kB / 238.8 MB, free: 4.953 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3266, allocations: 3.953 kB / 238.8 MB, free: 4.949 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/0.3276, allocations: 0.6839 MB / 239.5 MB, free: 4.16 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.3299, allocations: 1.043 MB / 240.5 MB, free: 3.043 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3299, allocations: 4 kB / 240.5 MB, free: 3.039 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009354/0.3309, allocations: 95.88 kB / 240.6 MB, free: 2.945 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.3309, allocations: 7.953 kB / 240.6 MB, free: 2.938 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.3309, allocations: 4 kB / 240.6 MB, free: 2.934 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.331, allocations: 11.92 kB / 240.7 MB, free: 2.922 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.331, allocations: 8.016 kB / 240.7 MB, free: 2.914 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.3324, allocations: 0.5811 MB / 241.2 MB, free: 2.312 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.3326, allocations: 132.4 kB / 241.4 MB, free: 2.164 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.3328, allocations: 11.95 kB / 241.4 MB, free: 2.152 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.3334, allocations: 44.03 kB / 241.4 MB, free: 2.109 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3335, allocations: 27.95 kB / 241.5 MB, free: 2.082 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.3336, allocations: 8 kB / 241.5 MB, free: 2.074 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006515/0.3342, allocations: 337.6 kB / 241.8 MB, free: 1.746 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3342, allocations: 0 / 241.8 MB, free: 1.746 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.000705/0.3349, allocations: 155.8 kB / 241.9 MB, free: 1.594 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001815/0.3368, allocations: 1.154 MB / 243.1 MB, free: 420 kB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.3382, allocations: 0.5942 MB / 243.7 MB, free: 15.78 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3383, allocations: 128 / 243.7 MB, free: 15.78 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.3387, allocations: 155.9 kB / 243.8 MB, free: 15.62 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.341, allocations: 267.9 kB / 244.1 MB, free: 15.37 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.3444, allocations: 0.8756 MB / 245 MB, free: 14.45 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.345, allocations: 0.8435 MB / 245.8 MB, free: 13.57 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.3454, allocations: 179.4 kB / 246 MB, free: 13.4 MB / 218.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3455, allocations: 4 kB / 246 MB, free: 13.4 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.888/3.233, allocations: 11.38 MB / 257.4 MB, free: 2.043 MB / 218.7 MB