Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.56/2.56, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.994e-05, allocations: 3.984 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4404, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.689/8.13, allocations: 2.596 GB / 2.943 GB, free: 2.379 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/8.13, allocations: 85.58 kB / 2.943 GB, free: 2.332 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 3.597/11.73, allocations: 0.6551 GB / 3.598 GB, free: 37.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/11.73, allocations: 0 / 3.598 GB, free: 37.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.955e-05/11.73, allocations: 24.53 kB / 3.598 GB, free: 37.54 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00891/11.74, allocations: 2.202 MB / 3.6 GB, free: 36.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/11.74, allocations: 10.34 kB / 3.6 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007207/11.74, allocations: 0.5693 MB / 3.6 GB, free: 36.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/11.75, allocations: 0.7061 MB / 3.601 GB, free: 36.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/11.75, allocations: 31.56 kB / 3.601 GB, free: 36.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/11.75, allocations: 43.34 kB / 3.601 GB, free: 36.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/11.75, allocations: 0.7414 MB / 3.602 GB, free: 36.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/11.75, allocations: 0.9107 MB / 3.603 GB, free: 35.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/11.75, allocations: 0 / 3.603 GB, free: 35.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/11.75, allocations: 5.969 kB / 3.603 GB, free: 35.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/11.75, allocations: 16.53 kB / 3.603 GB, free: 35.86 MB / 490.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.8617/12.61, allocations: 110 MB / 3.71 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/12.61, allocations: 0.4948 MB / 3.711 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/12.61, allocations: 213.3 kB / 3.711 GB, free: 68.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09871/12.71, allocations: 29.13 MB / 3.739 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/12.71, allocations: 46.16 kB / 3.739 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001122/12.71, allocations: 115.1 kB / 3.74 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.166e-06/12.71, allocations: 0 / 3.74 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.005883/12.72, allocations: 1.057 MB / 3.741 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/12.72, allocations: 189.7 kB / 3.741 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/12.72, allocations: 464.6 kB / 3.741 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/12.72, allocations: 25.7 kB / 3.741 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/12.72, allocations: 478.3 kB / 3.742 GB, free: 51.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/12.72, allocations: 152.5 kB / 3.742 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/12.72, allocations: 0.7656 kB / 3.742 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000131/12.72, allocations: 376.7 kB / 3.742 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/12.72, allocations: 180.5 kB / 3.742 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/12.72, allocations: 499.3 kB / 3.743 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/12.73, allocations: 481.1 kB / 3.743 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/12.73, allocations: 7.188 kB / 3.743 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004662/12.73, allocations: 0.9511 MB / 3.744 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008746/12.73, allocations: 3.83 MB / 3.748 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/12.73, allocations: 10.94 kB / 3.748 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/12.73, allocations: 74.12 kB / 3.748 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/12.73, allocations: 203.6 kB / 3.748 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/12.74, allocations: 1.237 MB / 3.749 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/12.74, allocations: 62.77 kB / 3.75 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/12.74, allocations: 47.66 kB / 3.75 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/12.74, allocations: 3.312 kB / 3.75 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00314/12.74, allocations: 0.7025 MB / 3.75 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/12.74, allocations: 11.16 kB / 3.75 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/12.74, allocations: 16.22 kB / 3.75 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/12.74, allocations: 222 kB / 3.75 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/12.74, allocations: 18.41 kB / 3.751 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/12.74, allocations: 61.05 kB / 3.751 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/12.74, allocations: 44.78 kB / 3.751 GB, free: 45.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003265/12.74, allocations: 139.8 kB / 3.751 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003755/12.75, allocations: 0.6593 MB / 3.751 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/12.75, allocations: 70.72 kB / 3.751 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/12.75, allocations: 2.809 MB / 3.754 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/12.75, allocations: 43.91 kB / 3.754 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/12.75, allocations: 0 / 3.754 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/12.75, allocations: 6.891 kB / 3.754 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00712/12.76, allocations: 3.7 MB / 3.758 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/12.76, allocations: 0.5625 kB / 3.758 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/12.76, allocations: 103.2 kB / 3.758 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/12.76, allocations: 0.7198 MB / 3.759 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/12.76, allocations: 5.875 kB / 3.759 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/12.77, allocations: 1.642 MB / 3.76 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/12.77, allocations: 7.781 kB / 3.76 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/12.77, allocations: 1.929 MB / 3.762 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/12.77, allocations: 301.2 kB / 3.762 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/12.77, allocations: 2.594 kB / 3.762 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/12.77, allocations: 38.03 kB / 3.762 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/12.77, allocations: 52.23 kB / 3.763 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/12.77, allocations: 24.77 kB / 3.763 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006887/12.77, allocations: 384.1 kB / 3.763 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/12.77, allocations: 0 / 3.763 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007036/12.78, allocations: 1.239 MB / 3.764 GB, free: 42.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 22 ($cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,massFlowRate1.medium.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,massFlowRate2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01553/12.8, allocations: 4.469 MB / 3.768 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002945/12.8, allocations: 1.16 MB / 3.77 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/12.8, allocations: 3 kB / 3.77 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/12.8, allocations: 0.6715 MB / 3.77 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/12.8, allocations: 291.8 kB / 3.771 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9577/13.76, allocations: 201 MB / 3.967 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/13.76, allocations: 1.185 MB / 3.968 GB, free: 67.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00342/13.76, allocations: 1.323 MB / 3.969 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/13.77, allocations: 445.1 kB / 3.97 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of SimCode: time 2.224e-06/13.77, allocations: 2.719 kB / 3.97 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/13.9, allocations: 48.59 MB / 4.017 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/13.9, allocations: 173.3 kB / 4.017 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.794/18.69, allocations: 0.6562 kB / 4.017 GB, free: 59.45 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat