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.PumpAndValve.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.PumpAndValve,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.012/1.012, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.391e-05, allocations: 0 / 154.4 MB, free: 13.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1963, allocations: 25.15 MB / 179.5 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07208/0.2684, allocations: 39.86 MB / 219.4 MB, free: 9.234 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.2687, allocations: 67.97 kB / 219.5 MB, free: 9.168 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06427/0.333, allocations: 14.19 MB / 233.6 MB, free: 10.91 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3331, allocations: 4 kB / 233.6 MB, free: 10.9 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.911e-05/0.3332, allocations: 12 kB / 233.7 MB, free: 10.89 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002538/0.3357, allocations: 0.8915 MB / 234.6 MB, free: 9.938 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.3358, allocations: 12.03 kB / 234.6 MB, free: 9.926 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002523/0.3361, allocations: 99.36 kB / 234.7 MB, free: 9.82 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.3363, allocations: 83.06 kB / 234.7 MB, free: 9.738 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.3375, allocations: 451.9 kB / 235.2 MB, free: 9.258 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.3378, allocations: 100.4 kB / 235.3 MB, free: 9.148 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3379, allocations: 51.94 kB / 235.3 MB, free: 9.098 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.3395, allocations: 0.6314 MB / 236 MB, free: 8.395 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.3395, allocations: 0 / 236 MB, free: 8.395 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/0.3396, allocations: 24 kB / 236 MB, free: 8.371 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.3397, allocations: 12 kB / 236 MB, free: 8.359 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.3409, allocations: 387.9 kB / 236.4 MB, free: 7.98 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.3465, allocations: 2.084 MB / 238.5 MB, free: 5.754 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.3498, allocations: 0.6754 MB / 239.1 MB, free: 5.055 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.3506, allocations: 234.5 kB / 239.4 MB, free: 4.824 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-05/0.3507, allocations: 12.55 kB / 239.4 MB, free: 4.812 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.3507, allocations: 51.12 kB / 239.4 MB, free: 4.754 MB / 202.7 MB Notification: Performance of pre-optimization done (n=56): time 3.696e-06/0.3507, allocations: 0 / 239.4 MB, free: 4.754 MB / 202.7 MB Notification: Performance of matching and sorting (n=56): time 0.003471/0.3542, allocations: 0.6961 MB / 240.1 MB, free: 4.039 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003339/0.3546, allocations: 0.5761 MB / 240.7 MB, free: 3.328 MB / 202.7 MB [/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:1366:7-1367:48:writable] Warning: Parameter valve.frictionLoss 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:1363:7-1365:60:writable] Warning: Parameter valve.rho0 has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1361:7-1362:60:writable] Warning: Parameter valve.dp0 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:1358:7-1360:60:writable] Warning: Parameter valve.kv0 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1355:7-1357:60:writable] Warning: Parameter valve.Kv1 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:1353:7-1354:60:writable] Warning: Parameter valve.y1 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:2340:9-2340:68:writable] Warning: Parameter valve.m 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:1843:7-1845:58:writable] Warning: Parameter idealPump.V_flow0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1840:7-1842:58:writable] Warning: Parameter idealPump.dp0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1837:7-1839:58:writable] Warning: Parameter idealPump.wNominal 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.00125/0.3559, allocations: 0.5007 MB / 241.2 MB, free: 2.824 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.3561, allocations: 37.7 kB / 241.2 MB, free: 2.781 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.3564, allocations: 307.3 kB / 241.5 MB, free: 2.477 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.3566, allocations: 193.1 kB / 241.7 MB, free: 2.285 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.3567, allocations: 12 kB / 241.7 MB, free: 2.273 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3569, allocations: 334.8 kB / 242.1 MB, free: 1.938 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.3574, allocations: 161.1 kB / 242.2 MB, free: 1.781 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.3582, allocations: 368.6 kB / 242.6 MB, free: 1.34 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.3589, allocations: 231 kB / 242.8 MB, free: 1.109 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3589, allocations: 0 / 242.8 MB, free: 1.109 MB / 202.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003324/0.3622, allocations: 0.7447 MB / 243.6 MB, free: 352 kB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.3624, allocations: 33.7 kB / 243.6 MB, free: 312 kB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3624, allocations: 4 kB / 243.6 MB, free: 308 kB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.364, allocations: 210.4 kB / 243.8 MB, free: 88 kB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1668/0.5308, allocations: 137.5 kB / 243.9 MB, free: 49.44 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/0.5464, allocations: 5.087 MB / 249 MB, free: 45.65 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.5483, allocations: 90.16 kB / 249.1 MB, free: 45.65 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.5485, allocations: 25.06 kB / 249.1 MB, free: 45.65 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: 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004984/0.549, allocations: 163 kB / 249.3 MB, free: 45.54 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.5494, allocations: 69.97 kB / 249.4 MB, free: 45.52 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/0.5544, allocations: 0.7503 MB / 250.1 MB, free: 45.44 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5545, allocations: 7.938 kB / 250.1 MB, free: 45.44 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5545, allocations: 3.562 kB / 250.1 MB, free: 45.44 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004296/0.5588, allocations: 0.9893 MB / 251.1 MB, free: 44.88 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/0.5657, allocations: 1.525 MB / 252.6 MB, free: 44.44 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.5658, allocations: 0 / 252.6 MB, free: 44.44 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/0.5682, allocations: 143.2 kB / 252.8 MB, free: 44.44 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.57, allocations: 158.6 kB / 252.9 MB, free: 44.43 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.5702, allocations: 15.59 kB / 252.9 MB, free: 44.43 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009722/0.5799, allocations: 3.533 MB / 256.5 MB, free: 41.66 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.58, allocations: 0 / 256.5 MB, free: 41.66 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.5854, allocations: 0.992 MB / 257.5 MB, free: 41.19 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.5862, allocations: 201.7 kB / 257.7 MB, free: 41.02 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5864, allocations: 11.78 kB / 257.7 MB, free: 41.02 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.5878, allocations: 50.12 kB / 257.7 MB, free: 41 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.5881, allocations: 48.86 kB / 257.8 MB, free: 41 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.5882, allocations: 18.09 kB / 257.8 MB, free: 40.99 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.5892, allocations: 376.9 kB / 258.2 MB, free: 40.81 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.5892, allocations: 0 / 258.2 MB, free: 40.81 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001891/0.5911, allocations: 241.8 kB / 258.4 MB, free: 40.79 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005846/0.597, allocations: 1.57 MB / 260 MB, free: 39.77 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.004271/0.6014, allocations: 0.9774 MB / 260.9 MB, free: 39.17 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.6015, allocations: 7.469 kB / 260.9 MB, free: 39.17 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.6036, allocations: 0.5032 MB / 261.5 MB, free: 38.84 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/0.6083, allocations: 325.5 kB / 261.8 MB, free: 38.78 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009912/0.6183, allocations: 1.25 MB / 263 MB, free: 38.24 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.6189, allocations: 0.901 MB / 263.9 MB, free: 37.53 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/0.6197, allocations: 235.1 kB / 264.2 MB, free: 37.36 MB / 202.7 MB Notification: Performance of SimCode: time 1.793e-06/0.6197, allocations: 0 / 264.2 MB, free: 37.36 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.152/3.771, allocations: 17.91 MB / 282.1 MB, free: 22.15 MB / 202.7 MB