Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004585, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.829/8.192, allocations: 2.601 GB / 2.962 GB, free: 94.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/8.192, allocations: 89.64 kB / 2.962 GB, free: 94.86 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.968/12.16, allocations: 0.7385 GB / 3.701 GB, free: 38.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.846e-06/12.16, allocations: 0 / 3.701 GB, free: 38.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001603/12.16, allocations: 41.31 kB / 3.701 GB, free: 38.52 MB / 0.4948 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.0131/12.17, allocations: 2.782 MB / 3.703 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/12.17, allocations: 9.562 kB / 3.703 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009348/12.17, allocations: 199.6 kB / 3.704 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008945/12.18, allocations: 0.744 MB / 3.704 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/12.19, allocations: 0.9736 MB / 3.705 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/12.19, allocations: 232 kB / 3.705 GB, free: 36.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/12.19, allocations: 123.8 kB / 3.706 GB, free: 36.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00857/12.2, allocations: 2.278 MB / 3.708 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/12.2, allocations: 15.78 kB / 3.708 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/12.2, allocations: 59.62 kB / 3.708 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.64e-05/12.2, allocations: 58.38 kB / 3.708 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009215/12.21, allocations: 2.034 MB / 3.71 GB, free: 36.09 MB / 0.4948 GB 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.01766/12.22, allocations: 10.54 MB / 3.72 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005677/12.23, allocations: 1.131 MB / 3.721 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0667/12.3, allocations: 19.14 MB / 3.74 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/12.3, allocations: 53.11 kB / 3.74 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001205/12.3, allocations: 111.2 kB / 3.74 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 5.25e-06/12.3, allocations: 11.73 kB / 3.74 GB, free: 18.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.02025/12.32, allocations: 3.829 MB / 3.744 GB, free: 17.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/12.32, allocations: 166.5 kB / 3.744 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/12.32, allocations: 0.7689 MB / 3.745 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/12.32, allocations: 42.3 kB / 3.745 GB, free: 17.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/12.32, allocations: 0.7026 MB / 3.746 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/12.32, allocations: 345.9 kB / 3.746 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/12.32, allocations: 31.38 kB / 3.746 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001619/12.32, allocations: 373.7 kB / 3.746 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/12.32, allocations: 478.6 kB / 3.747 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/12.33, allocations: 1.16 MB / 3.748 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/12.33, allocations: 0.6494 MB / 3.748 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/12.33, allocations: 7.312 kB / 3.748 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006203/12.33, allocations: 1.733 MB / 3.75 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003644/12.34, allocations: 8.967 MB / 3.759 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.535e-05/12.34, allocations: 28.22 kB / 3.759 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009053/12.34, allocations: 138.1 kB / 3.759 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/12.34, allocations: 405.8 kB / 3.759 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/12.34, allocations: 1.22 MB / 3.761 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/12.35, allocations: 159.6 kB / 3.761 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/12.35, allocations: 92.53 kB / 3.761 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/12.35, allocations: 5.969 kB / 3.761 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005724/12.35, allocations: 1.643 MB / 3.763 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.314e-05/12.35, allocations: 20.22 kB / 3.763 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/12.35, allocations: 134.7 kB / 3.763 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/12.36, allocations: 410.1 kB / 3.763 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/12.36, allocations: 1.207 MB / 3.764 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/12.36, allocations: 158.6 kB / 3.764 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/12.36, allocations: 88.8 kB / 3.764 GB, free: 19.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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.001509/12.36, allocations: 462.6 kB / 3.765 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/12.36, allocations: 116.2 kB / 3.765 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/12.37, allocations: 4.826 MB / 3.77 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-05/12.37, allocations: 68.09 kB / 3.77 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/12.37, allocations: 0 / 3.77 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/12.37, allocations: 7.453 kB / 3.77 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/12.39, allocations: 6.782 MB / 3.776 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/12.39, allocations: 4 kB / 3.776 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/12.39, allocations: 231 kB / 3.777 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/12.39, allocations: 180.8 kB / 3.777 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/12.39, allocations: 29.45 kB / 3.777 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/12.39, allocations: 1.238 MB / 3.778 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/12.39, allocations: 3.125 kB / 3.778 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008577/12.4, allocations: 3.996 MB / 3.782 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/12.4, allocations: 442.7 kB / 3.782 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/12.4, allocations: 26.77 kB / 3.782 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/12.4, allocations: 102.7 kB / 3.783 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/12.4, allocations: 91.33 kB / 3.783 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/12.4, allocations: 42.95 kB / 3.783 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001272/12.4, allocations: 0.6123 MB / 3.783 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/12.4, allocations: 0 / 3.783 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00908/12.41, allocations: 1.607 MB / 3.785 GB, free: 14.27 MB / 0.5105 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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse27.phase,$cse27.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 () * Number of clocked 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.01992/12.43, allocations: 6.402 MB / 3.791 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008433/12.44, allocations: 2.677 MB / 3.794 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/12.44, allocations: 0 / 3.794 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/12.44, allocations: 1.317 MB / 3.795 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004477/12.45, allocations: 0.501 MB / 3.795 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8971/13.35, allocations: 165.5 MB / 3.957 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/13.35, allocations: 1.547 MB / 3.959 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/13.35, allocations: 0.8242 MB / 3.959 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/13.35, allocations: 3.438 kB / 3.959 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.35/17.7, allocations: 63.93 MB / 4.022 GB, free: 1.207 MB / 0.5261 GB