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.OneMass.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.OneMass,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.109/1.109, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.286e-05, allocations: 4 kB / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05425/0.05431, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/0.3335, allocations: 37.61 MB / 211 MB, free: 4.613 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3338, allocations: 64.34 kB / 211.1 MB, free: 4.613 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04519/0.379, allocations: 9.76 MB / 220.8 MB, free: 2 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3791, allocations: 0 / 220.8 MB, free: 2 MB / 170.7 MB Notification: Performance of Transformations before backend: time 4.529e-05/0.3792, allocations: 9.703 kB / 220.8 MB, free: 2 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00204/0.3812, allocations: 0.7374 MB / 221.6 MB, free: 1.418 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3813, allocations: 11.75 kB / 221.6 MB, free: 1.414 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.3815, allocations: 61.84 kB / 221.6 MB, free: 1.387 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009992/0.3825, allocations: 389.2 kB / 222 MB, free: 1.109 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.3827, allocations: 49.3 kB / 222.1 MB, free: 1.078 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3828, allocations: 17.41 kB / 222.1 MB, free: 1.078 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/0.3839, allocations: 262.7 kB / 222.3 MB, free: 1.059 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.3851, allocations: 403.8 kB / 222.7 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.3851, allocations: 4 kB / 222.7 MB, free: 0.8398 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.3852, allocations: 3.953 kB / 222.7 MB, free: 0.8359 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3852, allocations: 7.625 kB / 222.8 MB, free: 0.8359 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.3893, allocations: 1.319 MB / 224.1 MB, free: 40 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.3902, allocations: 356.2 kB / 224.4 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.3906, allocations: 139.5 kB / 224.6 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-05/0.3907, allocations: 13.72 kB / 224.6 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.3908, allocations: 38.53 kB / 224.6 MB, free: 15.85 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 4.518e-06/0.3908, allocations: 0 / 224.6 MB, free: 15.85 MB / 186.7 MB Notification: Performance of matching and sorting (n=36): time 0.00142/0.3922, allocations: 355.5 kB / 225 MB, free: 15.74 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.3926, allocations: 448.7 kB / 225.4 MB, free: 15.2 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: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: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: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.0009606/0.3935, allocations: 372.7 kB / 225.8 MB, free: 15.06 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.3936, allocations: 25.7 kB / 225.8 MB, free: 15.03 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3939, allocations: 277.8 kB / 226.1 MB, free: 14.83 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.3941, allocations: 121 kB / 226.2 MB, free: 14.74 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3942, allocations: 0 / 226.2 MB, free: 14.74 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3944, allocations: 331 kB / 226.5 MB, free: 14.42 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.3947, allocations: 92.83 kB / 226.6 MB, free: 14.42 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.3953, allocations: 243.1 kB / 226.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.3958, allocations: 127.9 kB / 226.9 MB, free: 14.24 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3958, allocations: 0 / 226.9 MB, free: 14.24 MB / 186.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001375/0.3972, allocations: 349 kB / 227.3 MB, free: 14.15 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.3973, allocations: 33.52 kB / 227.3 MB, free: 14.12 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3973, allocations: 3.953 kB / 227.3 MB, free: 14.11 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.3978, allocations: 63.33 kB / 227.4 MB, free: 14.08 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.3988, allocations: 87.94 kB / 227.5 MB, free: 14.06 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.4028, allocations: 2.627 MB / 230.1 MB, free: 11.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4039, allocations: 50.67 kB / 230.1 MB, free: 11.55 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.404, allocations: 20.17 kB / 230.2 MB, free: 11.54 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass 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 (38): * Single equations (assignments): 35 * 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.0004062/0.4044, allocations: 135.2 kB / 230.3 MB, free: 11.42 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001367/0.4058, allocations: 351.7 kB / 230.6 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.406, allocations: 46.72 kB / 230.7 MB, free: 11.29 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.4062, allocations: 44.03 kB / 230.7 MB, free: 11.28 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4062, allocations: 3.562 kB / 230.7 MB, free: 11.28 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4063, allocations: 7.75 kB / 230.7 MB, free: 11.28 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/0.4074, allocations: 0.6588 MB / 231.4 MB, free: 10.7 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.4101, allocations: 0.936 MB / 232.3 MB, free: 10.17 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4102, allocations: 0 / 232.3 MB, free: 10.17 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.4113, allocations: 96.66 kB / 232.4 MB, free: 10.15 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.4114, allocations: 0 / 232.4 MB, free: 10.15 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.4114, allocations: 7.828 kB / 232.4 MB, free: 10.14 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.4115, allocations: 7.953 kB / 232.4 MB, free: 10.14 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4115, allocations: 0 / 232.4 MB, free: 10.14 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.4131, allocations: 0.5329 MB / 233 MB, free: 9.949 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.4135, allocations: 133.5 kB / 233.1 MB, free: 9.824 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.4136, allocations: 0 / 233.1 MB, free: 9.824 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.4145, allocations: 31.19 kB / 233.1 MB, free: 9.812 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.4146, allocations: 27.14 kB / 233.2 MB, free: 9.801 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.4147, allocations: 11.66 kB / 233.2 MB, free: 9.797 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000627/0.4153, allocations: 278.8 kB / 233.5 MB, free: 9.695 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4154, allocations: 0 / 233.5 MB, free: 9.695 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001059/0.4164, allocations: 141.3 kB / 233.6 MB, free: 9.676 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 (36): * Single equations (assignments): 36 * 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.002103/0.4186, allocations: 1.092 MB / 234.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.4202, allocations: 0.5398 MB / 235.2 MB, free: 8.652 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.4202, allocations: 4.125 kB / 235.2 MB, free: 8.648 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.4207, allocations: 139.5 kB / 235.4 MB, free: 8.637 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.4235, allocations: 225.3 kB / 235.6 MB, free: 8.555 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.4282, allocations: 0.8013 MB / 236.4 MB, free: 8.09 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.429, allocations: 0.836 MB / 237.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.4297, allocations: 170.9 kB / 237.4 MB, free: 7.297 MB / 186.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4297, allocations: 0 / 237.4 MB, free: 7.297 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/3.184, allocations: 10.59 MB / 248 MB, free: 13.64 MB / 202.7 MB