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/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.PumpDropOut,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9983/0.9983, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.096e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05412/0.05417, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/0.2702, allocations: 37.87 MB / 211.2 MB, free: 4.633 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.2704, allocations: 66.08 kB / 211.3 MB, free: 4.633 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04812/0.3186, allocations: 10.02 MB / 221.3 MB, free: 1.871 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3186, allocations: 0 / 221.3 MB, free: 1.871 MB / 170.7 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.3187, allocations: 11.19 kB / 221.3 MB, free: 1.871 MB / 170.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.002216/0.3209, allocations: 0.7519 MB / 222.1 MB, free: 1.285 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.321, allocations: 7.625 kB / 222.1 MB, free: 1.285 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.3213, allocations: 71.91 kB / 222.2 MB, free: 1.25 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.3223, allocations: 393.1 kB / 222.6 MB, free: 0.9688 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.3225, allocations: 48.98 kB / 222.6 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3226, allocations: 18.97 kB / 222.6 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/0.3237, allocations: 273 kB / 222.9 MB, free: 0.918 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3248, allocations: 418.6 kB / 223.3 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3249, allocations: 0 / 223.3 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.325, allocations: 7.828 kB / 223.3 MB, free: 0.6914 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.325, allocations: 11.75 kB / 223.3 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.3293, allocations: 1.37 MB / 224.7 MB, free: 15.88 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.331, allocations: 426.9 kB / 225.1 MB, free: 15.73 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.3315, allocations: 149.9 kB / 225.3 MB, free: 15.71 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.3316, allocations: 7.703 kB / 225.3 MB, free: 15.71 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.3317, allocations: 43.59 kB / 225.3 MB, free: 15.67 MB / 186.7 MB Notification: Performance of pre-optimization done (n=38): time 4.218e-06/0.3317, allocations: 0 / 225.3 MB, free: 15.67 MB / 186.7 MB Notification: Performance of matching and sorting (n=38): time 0.001613/0.3333, allocations: 361.2 kB / 225.7 MB, free: 15.57 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002883/0.3336, allocations: 451.3 kB / 226.1 MB, free: 15.03 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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: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/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/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/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/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/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/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.00106/0.3347, allocations: 382.6 kB / 226.5 MB, free: 14.88 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3349, allocations: 29.58 kB / 226.5 MB, free: 14.85 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.3351, allocations: 283.1 kB / 226.8 MB, free: 14.65 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.3354, allocations: 122 kB / 226.9 MB, free: 14.56 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3355, allocations: 0 / 226.9 MB, free: 14.56 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3356, allocations: 333.3 kB / 227.2 MB, free: 14.23 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.336, allocations: 103.7 kB / 227.3 MB, free: 14.23 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.3366, allocations: 246.2 kB / 227.6 MB, free: 14.08 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.3371, allocations: 114 kB / 227.7 MB, free: 14.07 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.3371, allocations: 3.875 kB / 227.7 MB, free: 14.07 MB / 186.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001435/0.3386, allocations: 372.2 kB / 228 MB, free: 13.96 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.3387, allocations: 33.53 kB / 228.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3387, allocations: 0 / 228.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.3392, allocations: 54.38 kB / 228.1 MB, free: 13.91 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.3403, allocations: 95.78 kB / 228.2 MB, free: 13.89 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.3442, allocations: 2.641 MB / 230.9 MB, free: 11.38 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.3453, allocations: 54.73 kB / 230.9 MB, free: 11.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.3454, allocations: 18.64 kB / 230.9 MB, free: 11.35 MB / 186.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 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real pump.h:VARIABLE(unit = "J/kg" nominal = 1000000.0 protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.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: 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.0004327/0.3459, allocations: 133.1 kB / 231.1 MB, free: 11.23 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001512/0.3474, allocations: 369.5 kB / 231.4 MB, free: 11.12 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.3476, allocations: 50.56 kB / 231.5 MB, free: 11.09 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.3478, allocations: 45.77 kB / 231.5 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3479, allocations: 11.73 kB / 231.5 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3479, allocations: 0 / 231.5 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.3491, allocations: 0.6632 MB / 232.2 MB, free: 10.5 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.3519, allocations: 0.9611 MB / 233.2 MB, free: 9.965 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.352, allocations: 7.875 kB / 233.2 MB, free: 9.957 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.3531, allocations: 96 kB / 233.3 MB, free: 9.938 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.3532, allocations: 0 / 233.3 MB, free: 9.938 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.3532, allocations: 15.3 kB / 233.3 MB, free: 9.926 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.3533, allocations: 7.875 kB / 233.3 MB, free: 9.922 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3533, allocations: 0 / 233.3 MB, free: 9.922 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3548, allocations: 0.5503 MB / 233.8 MB, free: 9.73 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.3551, allocations: 130.5 kB / 234 MB, free: 9.602 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3553, allocations: 7.844 kB / 234 MB, free: 9.598 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.3561, allocations: 26.91 kB / 234 MB, free: 9.59 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.3563, allocations: 26.61 kB / 234 MB, free: 9.578 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.3564, allocations: 11.47 kB / 234 MB, free: 9.578 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0006054/0.357, allocations: 276.2 kB / 234.3 MB, free: 9.477 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.357, allocations: 4 kB / 234.3 MB, free: 9.473 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001091/0.3581, allocations: 143 kB / 234.4 MB, free: 9.457 MB / 186.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.002159/0.3603, allocations: 1.113 MB / 235.6 MB, free: 8.73 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3619, allocations: 0.555 MB / 236.1 MB, free: 8.43 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.362, allocations: 7.781 kB / 236.1 MB, free: 8.426 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.3624, allocations: 146 kB / 236.3 MB, free: 8.414 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.3653, allocations: 219.9 kB / 236.5 MB, free: 8.336 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.3696, allocations: 0.8206 MB / 237.3 MB, free: 7.871 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.3703, allocations: 0.843 MB / 238.1 MB, free: 7.094 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.3709, allocations: 174.8 kB / 238.3 MB, free: 7.074 MB / 186.7 MB Notification: Performance of SimCode: time 3.336e-06/0.3709, allocations: 3.938 kB / 238.3 MB, free: 7.07 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.982/3.353, allocations: 10.89 MB / 249.2 MB, free: 12.6 MB / 202.7 MB