Running command: translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadModel(Modelica): time 1.077/1.077, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.606e-05, allocations: 4 kB / 154.5 MB, free: 2.844 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05292/0.05296, allocations: 25.18 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.02433/0.07734, allocations: 15.47 MB / 195.1 MB, free: 10.12 MB / 170.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.08886, allocations: 5.468 MB / 200.6 MB, free: 4.637 MB / 170.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.08988, allocations: 35.69 kB / 200.7 MB, free: 4.602 MB / 170.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.09093, allocations: 262.6 kB / 200.9 MB, free: 4.344 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:284:9-285:134:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:286:9-286:130:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:287:9-287:132:writable] Warning: Conditional component portsData is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:288:9-289:134:writable] Warning: Conditional component portsData is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.002627/0.09358, allocations: 0.6813 MB / 201.6 MB, free: 3.66 MB / 170.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.09815, allocations: 1.145 MB / 202.7 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.1004, allocations: 0.8518 MB / 203.6 MB, free: 1.656 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.1012, allocations: 363.8 kB / 203.9 MB, free: 1.301 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.1022, allocations: 466.9 kB / 204.4 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009017/0.1032, allocations: 426.8 kB / 204.8 MB, free: 436 kB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1481/0.2513, allocations: 0.8508 MB / 205.7 MB, free: 5.078 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007245/0.2521, allocations: 74.62 kB / 205.7 MB, free: 5.078 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.2527, allocations: 223.7 kB / 206 MB, free: 5.078 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.2533, allocations: 78.33 kB / 206 MB, free: 5.078 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.257, allocations: 1.134 MB / 207.2 MB, free: 5 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2571, allocations: 0 / 207.2 MB, free: 5 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.2571, allocations: 0 / 207.2 MB, free: 5 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.2572, allocations: 0 / 207.2 MB, free: 5 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003486/0.2606, allocations: 0.9616 MB / 208.1 MB, free: 4.395 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2607, allocations: 9.281 kB / 208.1 MB, free: 4.395 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.2611, allocations: 81.64 kB / 208.2 MB, free: 4.359 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.2626, allocations: 0.5409 MB / 208.8 MB, free: 4.105 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.2628, allocations: 113.8 kB / 208.9 MB, free: 4.039 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.263, allocations: 46.83 kB / 208.9 MB, free: 4.039 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.2655, allocations: 0.8543 MB / 209.8 MB, free: 3.941 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.2656, allocations: 1.031 kB / 209.8 MB, free: 3.941 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.2657, allocations: 23.66 kB / 209.8 MB, free: 3.941 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.2658, allocations: 55.16 kB / 209.8 MB, free: 3.941 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.2682, allocations: 0.7747 MB / 210.6 MB, free: 3.938 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007792/0.276, allocations: 3.299 MB / 213.9 MB, free: 2.484 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.2781, allocations: 0.6461 MB / 214.6 MB, free: 2.449 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.2825, allocations: 1.915 MB / 216.5 MB, free: 1.371 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2825, allocations: 41.81 kB / 216.5 MB, free: 1.332 MB / 170.7 MB Notification: Performance of pre-optimization done (n=52): time 3.276e-06/0.2826, allocations: 0 / 216.5 MB, free: 1.332 MB / 170.7 MB Notification: Performance of matching and sorting (n=60): time 0.01274/0.2953, allocations: 2.957 MB / 219.5 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2954, allocations: 84.61 kB / 219.6 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.2965, allocations: 0.5541 MB / 220.1 MB, free: 16.56 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.2967, allocations: 39.77 kB / 220.2 MB, free: 16.52 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.297, allocations: 339.2 kB / 220.5 MB, free: 16.3 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.2973, allocations: 218.9 kB / 220.7 MB, free: 16.17 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.2974, allocations: 11.88 kB / 220.7 MB, free: 16.17 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2975, allocations: 338.9 kB / 221 MB, free: 15.86 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.2986, allocations: 346.8 kB / 221.4 MB, free: 15.8 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.2998, allocations: 498 kB / 221.9 MB, free: 15.57 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.301, allocations: 407.3 kB / 222.3 MB, free: 15.5 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.301, allocations: 1.375 kB / 222.3 MB, free: 15.5 MB / 186.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00346/0.3045, allocations: 1.1 MB / 223.4 MB, free: 15.28 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3046, allocations: 7.312 kB / 223.4 MB, free: 15.28 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3046, allocations: 2.469 kB / 223.4 MB, free: 15.28 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.3069, allocations: 480.7 kB / 223.8 MB, free: 15.16 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.3081, allocations: 146.4 kB / 224 MB, free: 15.14 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.3108, allocations: 1.098 MB / 225.1 MB, free: 14.49 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.312, allocations: 47.2 kB / 225.1 MB, free: 14.48 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3122, allocations: 38.77 kB / 225.2 MB, free: 14.46 MB / 186.7 MB Warning: Assuming fixed start value for the following 4 variables: tank2.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank2.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank2.level:VARIABLE(min = max(0.0, 0.0) start = max(tank2.level_start, 1e-15) unit = "m" fixed = true stateSelect=StateSelect.prefer ) "Level height of tank" type: Real tank1.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank1.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank1.level:VARIABLE(min = max(0.0, 0.0) start = max(tank1.level_start, 1e-15) unit = "m" fixed = true stateSelect=StateSelect.prefer ) "Level height of tank" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.000762/0.3129, allocations: 286 kB / 225.5 MB, free: 14.31 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.3132, allocations: 73.94 kB / 225.5 MB, free: 14.27 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.3167, allocations: 1.106 MB / 226.6 MB, free: 14 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3168, allocations: 5.875 kB / 226.6 MB, free: 14 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3168, allocations: 3.062 kB / 226.6 MB, free: 14 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.3168, allocations: 7.938 kB / 226.6 MB, free: 14 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005491/0.3223, allocations: 1.978 MB / 228.6 MB, free: 13.01 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3224, allocations: 0 / 228.6 MB, free: 13.01 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.3235, allocations: 117.3 kB / 228.7 MB, free: 12.91 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.3258, allocations: 486.5 kB / 229.2 MB, free: 12.5 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.326, allocations: 23.17 kB / 229.2 MB, free: 12.49 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.3288, allocations: 1.108 MB / 230.3 MB, free: 11.54 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3288, allocations: 0 / 230.3 MB, free: 11.54 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/0.3339, allocations: 1.611 MB / 232 MB, free: 10.38 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.3344, allocations: 146.2 kB / 232.1 MB, free: 10.23 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.3347, allocations: 10.94 kB / 232.1 MB, free: 10.22 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.3358, allocations: 58.77 kB / 232.2 MB, free: 10.18 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.3361, allocations: 59.16 kB / 232.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.3362, allocations: 25.55 kB / 232.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0008855/0.3371, allocations: 448.1 kB / 232.7 MB, free: 9.766 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3371, allocations: 0 / 232.7 MB, free: 9.766 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.002045/0.3392, allocations: 380.7 kB / 233.1 MB, free: 9.422 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.3407, allocations: 394.6 kB / 233.4 MB, free: 9.062 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.003796/0.3445, allocations: 0.918 MB / 234.4 MB, free: 8.395 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.3445, allocations: 0 / 234.4 MB, free: 8.395 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.3469, allocations: 0.512 MB / 234.9 MB, free: 8.02 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/0.3504, allocations: 370.3 kB / 235.2 MB, free: 7.734 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.3569, allocations: 2.01 MB / 237.2 MB, free: 5.895 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.3577, allocations: 0.981 MB / 238.2 MB, free: 4.906 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.3582, allocations: 67.05 kB / 238.3 MB, free: 4.844 MB / 186.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3582, allocations: 4 kB / 238.3 MB, free: 4.84 MB / 186.7 MB Notification: Performance of Templates: time 0.0399/0.3981, allocations: 17.07 MB / 255.4 MB, free: 3.961 MB / 202.7 MB