Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.268e-05, allocations: 0 / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.682/7.802, allocations: 2.484 GB / 2.793 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/7.802, allocations: 83.77 kB / 2.793 GB, free: 106 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.969/9.771, allocations: 395.7 MB / 3.18 GB, free: 40.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/9.771, allocations: 3.188 kB / 3.18 GB, free: 40.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.65e-05/9.771, allocations: 10.62 kB / 3.18 GB, free: 40.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.00633/9.777, allocations: 1.478 MB / 3.181 GB, free: 39.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/9.777, allocations: 18.33 kB / 3.181 GB, free: 39.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/9.78, allocations: 235.9 kB / 3.182 GB, free: 39.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/9.781, allocations: 432.4 kB / 3.182 GB, free: 39.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/9.781, allocations: 26.5 kB / 3.182 GB, free: 39.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/9.781, allocations: 22.84 kB / 3.182 GB, free: 39.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008698/9.782, allocations: 343.1 kB / 3.182 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/9.783, allocations: 477 kB / 3.183 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/9.783, allocations: 0 / 3.183 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/9.783, allocations: 7.031 kB / 3.183 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/9.783, allocations: 7.812 kB / 3.183 GB, free: 39.15 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.154/9.937, allocations: 39.44 MB / 3.221 GB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/9.938, allocations: 214.6 kB / 3.221 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/9.938, allocations: 101.2 kB / 3.222 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4963/10.43, allocations: 49.59 MB / 3.27 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/10.43, allocations: 38.94 kB / 3.27 GB, free: 43.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 2.705e-06/10.43, allocations: 0 / 3.27 GB, free: 43.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.002822/10.44, allocations: 0.5104 MB / 3.271 GB, free: 43.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/10.44, allocations: 106.8 kB / 3.271 GB, free: 43.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/10.44, allocations: 281.5 kB / 3.271 GB, free: 43.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/10.44, allocations: 28.8 kB / 3.271 GB, free: 43.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/10.44, allocations: 341.5 kB / 3.271 GB, free: 43.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/10.44, allocations: 75.16 kB / 3.271 GB, free: 43.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/10.44, allocations: 0 / 3.271 GB, free: 43.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/10.44, allocations: 329.3 kB / 3.272 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/10.44, allocations: 85.77 kB / 3.272 GB, free: 43.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/10.44, allocations: 278.6 kB / 3.272 GB, free: 42.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/10.44, allocations: 226.1 kB / 3.272 GB, free: 42.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/10.44, allocations: 3.969 kB / 3.272 GB, free: 42.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001987/10.44, allocations: 496.8 kB / 3.273 GB, free: 42.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005752/10.44, allocations: 2.442 MB / 3.275 GB, free: 40.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/10.44, allocations: 10.47 kB / 3.275 GB, free: 40.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/10.44, allocations: 45.62 kB / 3.275 GB, free: 40.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/10.44, allocations: 109.7 kB / 3.275 GB, free: 40.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/10.45, allocations: 0.6307 MB / 3.276 GB, free: 39.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/10.45, allocations: 66.75 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/10.45, allocations: 25.53 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/10.45, allocations: 7.578 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/10.45, allocations: 359.9 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/10.45, allocations: 6.375 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/10.45, allocations: 11.78 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/10.45, allocations: 115.5 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/10.45, allocations: 15.16 kB / 3.276 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/10.45, allocations: 54.97 kB / 3.276 GB, free: 39.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/10.45, allocations: 29.66 kB / 3.277 GB, free: 39.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001507/10.45, allocations: 121.3 kB / 3.277 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001593/10.45, allocations: 336.7 kB / 3.277 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/10.45, allocations: 37.59 kB / 3.277 GB, free: 39.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/10.45, allocations: 1.447 MB / 3.278 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/10.45, allocations: 21.61 kB / 3.278 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/10.45, allocations: 0 / 3.278 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/10.45, allocations: 3.75 kB / 3.278 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/10.46, allocations: 2.026 MB / 3.28 GB, free: 39.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/10.46, allocations: 0 / 3.28 GB, free: 39.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/10.46, allocations: 53.42 kB / 3.28 GB, free: 39.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008202/10.46, allocations: 0.5899 MB / 3.281 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/10.46, allocations: 3.906 kB / 3.281 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/10.46, allocations: 1.079 MB / 3.282 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/10.46, allocations: 0 / 3.282 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/10.46, allocations: 1.163 MB / 3.283 GB, free: 38.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/10.46, allocations: 179.9 kB / 3.283 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.546e-05/10.46, allocations: 3.312 kB / 3.283 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/10.46, allocations: 28.11 kB / 3.283 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/10.46, allocations: 25.62 kB / 3.283 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/10.46, allocations: 10.41 kB / 3.283 GB, free: 38.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003036/10.46, allocations: 219.2 kB / 3.284 GB, free: 37.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-07/10.46, allocations: 3.781 kB / 3.284 GB, free: 37.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005766/10.47, allocations: 1.141 MB / 3.285 GB, free: 37.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01224/10.48, allocations: 3.302 MB / 3.288 GB, free: 36.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/10.48, allocations: 0.6114 MB / 3.289 GB, free: 36.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/10.48, allocations: 3.031 kB / 3.289 GB, free: 36.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/10.48, allocations: 378.4 kB / 3.289 GB, free: 36.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/10.48, allocations: 144.2 kB / 3.289 GB, free: 36.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/10.49, allocations: 1.419 MB / 3.29 GB, free: 36.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/10.49, allocations: 0.9459 MB / 3.291 GB, free: 35.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/10.49, allocations: 222.4 kB / 3.292 GB, free: 35.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/10.49, allocations: 0 / 3.292 GB, free: 35.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.579/14.07, allocations: 33.23 MB / 3.324 GB, free: 32.89 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat