Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.703/2.703, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.522e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.767/8.911, allocations: 2.775 GB / 3.176 GB, free: 89.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/8.911, allocations: 82.08 kB / 3.176 GB, free: 89.9 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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 4.456/13.37, allocations: 0.7486 GB / 3.925 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/13.37, allocations: 0 / 3.925 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001397/13.37, allocations: 42.3 kB / 3.925 GB, free: 41.62 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.01244/13.38, allocations: 2.669 MB / 3.927 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/13.38, allocations: 10.44 kB / 3.927 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000647/13.38, allocations: 194.5 kB / 3.927 GB, free: 40.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008963/13.39, allocations: 0.7491 MB / 3.928 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/13.39, allocations: 0.953 MB / 3.929 GB, free: 40 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/13.39, allocations: 234.4 kB / 3.929 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004874/13.39, allocations: 121.3 kB / 3.929 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/13.4, allocations: 2.252 MB / 3.932 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.286e-05/13.4, allocations: 13.34 kB / 3.932 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/13.4, allocations: 57.19 kB / 3.932 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-05/13.4, allocations: 66.97 kB / 3.932 GB, free: 39.35 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007279/13.41, allocations: 1.854 MB / 3.934 GB, free: 39.34 MB / 0.5417 GB 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.02026/13.43, allocations: 10.8 MB / 3.944 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/13.44, allocations: 1.176 MB / 3.945 GB, free: 32.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/13.44, allocations: 417.9 kB / 3.946 GB, free: 32.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/13.44, allocations: 0.6898 MB / 3.946 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/13.44, allocations: 51.2 kB / 3.946 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/13.44, allocations: 131.5 kB / 3.947 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=88): time 4.819e-06/13.44, allocations: 0 / 3.947 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96): time 0.0166/13.46, allocations: 3.503 MB / 3.95 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/13.46, allocations: 162.1 kB / 3.95 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/13.46, allocations: 0.85 MB / 3.951 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/13.46, allocations: 47.08 kB / 3.951 GB, free: 30.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/13.46, allocations: 0.6588 MB / 3.952 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000414/13.46, allocations: 338 kB / 3.952 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/13.46, allocations: 34.25 kB / 3.952 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001206/13.46, allocations: 369.6 kB / 3.952 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/13.46, allocations: 400.2 kB / 3.953 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/13.46, allocations: 1.026 MB / 3.954 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/13.46, allocations: 0.5702 MB / 3.954 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/13.46, allocations: 10.19 kB / 3.954 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004569/13.47, allocations: 1.534 MB / 3.956 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001957/13.47, allocations: 8.093 MB / 3.964 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.607e-05/13.47, allocations: 17.41 kB / 3.964 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007775/13.47, allocations: 131.5 kB / 3.964 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/13.47, allocations: 412.5 kB / 3.964 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/13.48, allocations: 1.203 MB / 3.965 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/13.48, allocations: 173.8 kB / 3.966 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/13.48, allocations: 82.41 kB / 3.966 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/13.48, allocations: 7.906 kB / 3.966 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004394/13.48, allocations: 1.396 MB / 3.967 GB, free: 19.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/13.48, allocations: 23.39 kB / 3.967 GB, free: 19.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/13.48, allocations: 128.2 kB / 3.967 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/13.49, allocations: 407.5 kB / 3.968 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009316/13.49, allocations: 1.197 MB / 3.969 GB, free: 18.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/13.49, allocations: 181.4 kB / 3.969 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/13.49, allocations: 80.38 kB / 3.969 GB, free: 18.04 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000568/13.49, allocations: 219.9 kB / 3.969 GB, free: 17.92 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/13.49, allocations: 125.4 kB / 3.969 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007858/13.5, allocations: 4.969 MB / 3.974 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.922e-05/13.5, allocations: 68.59 kB / 3.974 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/13.5, allocations: 2.938 kB / 3.974 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/13.5, allocations: 10.95 kB / 3.974 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/13.51, allocations: 6.96 MB / 3.981 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/13.51, allocations: 1.312 kB / 3.981 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/13.51, allocations: 282.8 kB / 3.981 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009504/13.51, allocations: 166.8 kB / 3.981 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/13.51, allocations: 32.61 kB / 3.981 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008236/13.52, allocations: 1.224 MB / 3.983 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/13.52, allocations: 3.953 kB / 3.983 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006696/13.52, allocations: 3.836 MB / 3.986 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/13.52, allocations: 0.5092 MB / 3.987 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/13.52, allocations: 21.78 kB / 3.987 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/13.53, allocations: 130.7 kB / 3.987 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/13.53, allocations: 100.6 kB / 3.987 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/13.53, allocations: 41.81 kB / 3.987 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001885/13.53, allocations: 0.8238 MB / 3.988 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.635e-06/13.53, allocations: 0 / 3.988 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009242/13.54, allocations: 1.642 MB / 3.99 GB, free: 14.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0193/13.56, allocations: 6.288 MB / 3.996 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008495/13.57, allocations: 2.425 MB / 3.998 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/13.57, allocations: 0 / 3.998 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/13.57, allocations: 1.269 MB / 3.999 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/13.58, allocations: 0.6055 MB / 4 GB, free: 29.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/13.59, allocations: 4.187 MB / 4.004 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/13.59, allocations: 1.591 MB / 4.006 GB, free: 27.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005049/13.59, allocations: 1.694 MB / 4.007 GB, free: 27.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/13.6, allocations: 0.8433 MB / 4.008 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.402e-06/13.6, allocations: 0 / 4.008 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/13.81, allocations: 83.36 MB / 4.089 GB, free: 8.414 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003815/13.81, allocations: 242.7 kB / 4.09 GB, free: 8.098 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/20.76, allocations: 0 / 4.09 GB, free: 8.098 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1_res.mat does not exist to compare? outputFormat=mat