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.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.039/1.039, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.931e-05, allocations: 0 / 148.2 MB, free: 6.125 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05626/0.05632, allocations: 25.17 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.2758, allocations: 37.83 MB / 211.2 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.2761, allocations: 65.36 kB / 211.3 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06164/0.3378, allocations: 15.68 MB / 227 MB, free: 15.92 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3378, allocations: 4 kB / 227 MB, free: 15.91 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.388e-05/0.3379, allocations: 15.5 kB / 227 MB, free: 15.91 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002775/0.3407, allocations: 1.024 MB / 228 MB, free: 15.16 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3407, allocations: 11.56 kB / 228 MB, free: 15.16 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.3411, allocations: 96.97 kB / 228.1 MB, free: 15.12 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.3424, allocations: 0.5121 MB / 228.6 MB, free: 14.79 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.3428, allocations: 129 kB / 228.7 MB, free: 14.68 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3429, allocations: 34.53 kB / 228.8 MB, free: 14.68 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001298/0.3442, allocations: 476 kB / 229.2 MB, free: 14.65 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.3457, allocations: 0.7059 MB / 230 MB, free: 14.27 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.3458, allocations: 6.875 kB / 230 MB, free: 14.27 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.3459, allocations: 3.984 kB / 230 MB, free: 14.26 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.3459, allocations: 15.06 kB / 230 MB, free: 14.26 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005297/0.3512, allocations: 2.223 MB / 232.2 MB, free: 12.98 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.3535, allocations: 0.8633 MB / 233.1 MB, free: 12.63 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/0.3543, allocations: 322.2 kB / 233.4 MB, free: 12.61 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3544, allocations: 20.14 kB / 233.4 MB, free: 12.6 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.3545, allocations: 48.44 kB / 233.4 MB, free: 12.56 MB / 186.7 MB Notification: Performance of pre-optimization done (n=74): time 4.699e-06/0.3545, allocations: 0 / 233.4 MB, free: 12.56 MB / 186.7 MB Notification: Performance of matching and sorting (n=74): time 0.003347/0.3579, allocations: 0.8203 MB / 234.3 MB, free: 12.15 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004147/0.3583, allocations: 0.8294 MB / 235.1 MB, free: 11.13 MB / 186.7 MB [/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:1280:7-1281:76:writable] Warning: Parameter pipe3.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 pipe3.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 pipe3.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 pipe3.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 pipe3.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 pipe2.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 pipe2.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 pipe2.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 pipe2.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 pipe2.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 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:2262:9-2264:54:writable] Warning: Parameter pipe1.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 pipe1.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 pipe1.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 pipe1.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.001172/0.3595, allocations: 492.3 kB / 235.6 MB, free: 10.76 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.3597, allocations: 29.7 kB / 235.6 MB, free: 10.72 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.36, allocations: 346.8 kB / 235.9 MB, free: 10.47 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.3604, allocations: 247.7 kB / 236.2 MB, free: 10.26 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.3604, allocations: 0 / 236.2 MB, free: 10.26 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3606, allocations: 337.3 kB / 236.5 MB, free: 9.93 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.3612, allocations: 198.3 kB / 236.7 MB, free: 9.82 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/0.3621, allocations: 457.5 kB / 237.2 MB, free: 9.395 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.3628, allocations: 255.7 kB / 237.4 MB, free: 9.23 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3629, allocations: 0 / 237.4 MB, free: 9.23 MB / 186.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003441/0.3663, allocations: 0.8397 MB / 238.2 MB, free: 8.57 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.3665, allocations: 88.72 kB / 238.3 MB, free: 8.469 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3665, allocations: 4 kB / 238.3 MB, free: 8.465 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.3676, allocations: 209.3 kB / 238.5 MB, free: 8.297 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3688, allocations: 126.1 kB / 238.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.3788, allocations: 6.131 MB / 244.8 MB, free: 1.609 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3802, allocations: 87.64 kB / 244.9 MB, free: 1.523 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3803, allocations: 27.98 kB / 244.9 MB, free: 1.496 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: heatCapacitor2.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 heatCapacitor1.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 pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.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 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: pipe2.volumeFlow:VARIABLE(unit = "m3/s" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.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: pipe1.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 (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000491/0.3808, allocations: 169.5 kB / 245.1 MB, free: 1.328 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003408/0.3842, allocations: 0.8227 MB / 245.9 MB, free: 500 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.3846, allocations: 75.16 kB / 246 MB, free: 424 kB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.3849, allocations: 67.33 kB / 246 MB, free: 352 kB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.3849, allocations: 8 kB / 246 MB, free: 344 kB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.385, allocations: 4 kB / 246 MB, free: 340 kB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003218/0.3882, allocations: 1.126 MB / 247.2 MB, free: 15.09 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.3941, allocations: 1.863 MB / 249 MB, free: 13.15 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.3942, allocations: 0 / 249 MB, free: 13.15 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.3955, allocations: 127.9 kB / 249.2 MB, free: 13.02 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007768/0.3964, allocations: 170.5 kB / 249.3 MB, free: 12.85 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.3965, allocations: 7.938 kB / 249.3 MB, free: 12.84 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008334/0.4048, allocations: 4.714 MB / 254.1 MB, free: 7.77 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.4049, allocations: 7.938 kB / 254.1 MB, free: 7.762 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/0.4091, allocations: 1.221 MB / 255.3 MB, free: 6.496 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.4096, allocations: 164.1 kB / 255.4 MB, free: 6.316 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.4098, allocations: 4 kB / 255.4 MB, free: 6.312 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/0.4107, allocations: 35.97 kB / 255.5 MB, free: 6.277 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.411, allocations: 56.69 kB / 255.5 MB, free: 6.223 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.4111, allocations: 24.12 kB / 255.6 MB, free: 6.199 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006933/0.4118, allocations: 351 kB / 255.9 MB, free: 5.859 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.685e-06/0.4118, allocations: 0 / 255.9 MB, free: 5.859 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001515/0.4133, allocations: 287.4 kB / 256.2 MB, free: 5.578 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004716/0.4181, allocations: 1.935 MB / 258.1 MB, free: 3.59 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.421, allocations: 1.163 MB / 259.3 MB, free: 2.355 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4211, allocations: 0 / 259.3 MB, free: 2.355 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.423, allocations: 0.6862 MB / 260 MB, free: 1.641 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/0.4267, allocations: 374.4 kB / 260.3 MB, free: 1.277 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.433, allocations: 1.462 MB / 261.8 MB, free: 15.76 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.4337, allocations: 0.9404 MB / 262.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000696/0.4344, allocations: 283.3 kB / 263 MB, free: 14.52 MB / 218.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4344, allocations: 0 / 263 MB, free: 14.52 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.309/3.743, allocations: 23.81 MB / 286.8 MB, free: 6.672 MB / 234.7 MB