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.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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 2.416e-05/2.442e-05, allocations: 0 / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1718, allocations: 25.16 MB / 179.5 MB, free: 0.7773 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06826/0.2401, allocations: 37.7 MB / 217.2 MB, free: 11.38 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.2404, allocations: 63.97 kB / 217.3 MB, free: 11.32 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04161/0.2821, allocations: 9.391 MB / 226.7 MB, free: 1.871 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2821, allocations: 0 / 226.7 MB, free: 1.871 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.2822, allocations: 8 kB / 226.7 MB, free: 1.863 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001645/0.2838, allocations: 0.6792 MB / 227.4 MB, free: 1.133 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.2839, allocations: 8.031 kB / 227.4 MB, free: 1.125 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.2841, allocations: 87.16 kB / 227.5 MB, free: 1.031 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2843, allocations: 59.34 kB / 227.5 MB, free: 0.9727 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.2853, allocations: 372.3 kB / 227.9 MB, free: 0.5703 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.2855, allocations: 62.47 kB / 227.9 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.2856, allocations: 39.94 kB / 228 MB, free: 476 kB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.2867, allocations: 451.3 kB / 228.4 MB, free: 15.96 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2868, allocations: 0 / 228.4 MB, free: 15.96 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.2869, allocations: 19.95 kB / 228.4 MB, free: 15.94 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2869, allocations: 8 kB / 228.5 MB, free: 15.93 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.2877, allocations: 275 kB / 228.7 MB, free: 15.67 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.2913, allocations: 1.385 MB / 230.1 MB, free: 14.18 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.2933, allocations: 433.6 kB / 230.5 MB, free: 13.73 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.2938, allocations: 125.4 kB / 230.7 MB, free: 13.61 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.2938, allocations: 12.28 kB / 230.7 MB, free: 13.59 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.2939, allocations: 46.77 kB / 230.7 MB, free: 13.54 MB / 202.7 MB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.2939, allocations: 7.938 kB / 230.7 MB, free: 13.53 MB / 202.7 MB Notification: Performance of matching and sorting (n=33): time 0.001214/0.2951, allocations: 340.3 kB / 231 MB, free: 13.19 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.2954, allocations: 445 kB / 231.5 MB, free: 12.65 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: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.0009553/0.2964, allocations: 416 kB / 231.9 MB, free: 12.24 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.2965, allocations: 37.7 kB / 231.9 MB, free: 12.2 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.2967, allocations: 266.8 kB / 232.2 MB, free: 11.93 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2969, allocations: 114.4 kB / 232.3 MB, free: 11.82 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.2969, allocations: 4 kB / 232.3 MB, free: 11.82 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2971, allocations: 326.8 kB / 232.6 MB, free: 11.49 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.2974, allocations: 96.33 kB / 232.7 MB, free: 11.39 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.298, allocations: 243.5 kB / 233 MB, free: 11.1 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.2984, allocations: 143.1 kB / 233.1 MB, free: 10.96 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2984, allocations: 0 / 233.1 MB, free: 10.96 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0012/0.2996, allocations: 402.2 kB / 233.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.2997, allocations: 35.72 kB / 233.5 MB, free: 10.51 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2997, allocations: 4 kB / 233.5 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/0.3002, allocations: 69.8 kB / 233.6 MB, free: 10.43 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.3009, allocations: 75.83 kB / 233.7 MB, free: 10.36 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.3045, allocations: 2.753 MB / 236.4 MB, free: 7.34 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.3053, allocations: 55.61 kB / 236.5 MB, free: 7.285 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.3053, allocations: 8 kB / 236.5 MB, free: 7.277 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 (37): * Single equations (assignments): 34 * 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 {1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003087/0.3057, allocations: 150 kB / 236.6 MB, free: 7.125 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.3058, allocations: 47.44 kB / 236.7 MB, free: 7.078 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.306, allocations: 48.78 kB / 236.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.306, allocations: 4 kB / 236.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.306, allocations: 0 / 236.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009018/0.3069, allocations: 0.6454 MB / 237.4 MB, free: 6.273 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3091, allocations: 0.9414 MB / 238.3 MB, free: 5.258 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3091, allocations: 0 / 238.3 MB, free: 5.258 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.3099, allocations: 75.89 kB / 238.4 MB, free: 5.184 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-06/0.3099, allocations: 0 / 238.4 MB, free: 5.184 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.3099, allocations: 11.95 kB / 238.4 MB, free: 5.172 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3099, allocations: 0 / 238.4 MB, free: 5.172 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.31, allocations: 0 / 238.4 MB, free: 5.172 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.3112, allocations: 0.5109 MB / 238.9 MB, free: 4.645 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.3114, allocations: 128.5 kB / 239 MB, free: 4.5 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3116, allocations: 8 kB / 239 MB, free: 4.492 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.3121, allocations: 27.94 kB / 239.1 MB, free: 4.465 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.3122, allocations: 16.03 kB / 239.1 MB, free: 4.449 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.3122, allocations: 16 kB / 239.1 MB, free: 4.434 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006043/0.3128, allocations: 313.2 kB / 239.4 MB, free: 4.133 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3128, allocations: 0 / 239.4 MB, free: 4.133 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007879/0.3136, allocations: 155.8 kB / 239.6 MB, free: 3.98 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 (33): * Single equations (assignments): 33 * 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.001574/0.3152, allocations: 1.052 MB / 240.6 MB, free: 2.898 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.3169, allocations: 0.5396 MB / 241.2 MB, free: 2.32 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.3169, allocations: 0 / 241.2 MB, free: 2.32 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3173, allocations: 128.4 kB / 241.3 MB, free: 2.195 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.3196, allocations: 251.8 kB / 241.5 MB, free: 1.953 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.3222, allocations: 0.7562 MB / 242.3 MB, free: 1.152 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.3228, allocations: 0.8316 MB / 243.1 MB, free: 296 kB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.3232, allocations: 163.4 kB / 243.3 MB, free: 136 kB / 202.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3232, allocations: 0 / 243.3 MB, free: 136 kB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.85/3.173, allocations: 10.33 MB / 253.6 MB, free: 5.816 MB / 218.7 MB