Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004594, allocations: 16 kB / 282.7 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 48.7 MB / 331.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.833/7.953, allocations: 2.491 GB / 2.814 GB, free: 25.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/7.954, allocations: 85.95 kB / 2.814 GB, free: 25.71 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 4.073/12.03, allocations: 0.7195 GB / 3.534 GB, free: 34.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/12.03, allocations: 0 / 3.534 GB, free: 34.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001503/12.03, allocations: 39.58 kB / 3.534 GB, free: 34.93 MB / 458.7 MB 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.01315/12.04, allocations: 2.706 MB / 3.536 GB, free: 33.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/12.04, allocations: 9.656 kB / 3.536 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008125/12.04, allocations: 197.6 kB / 3.537 GB, free: 33.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00886/12.05, allocations: 0.6956 MB / 3.537 GB, free: 33.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/12.05, allocations: 0.9851 MB / 3.538 GB, free: 33.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/12.05, allocations: 232 kB / 3.539 GB, free: 33.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/12.05, allocations: 121.9 kB / 3.539 GB, free: 33.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008186/12.06, allocations: 2.279 MB / 3.541 GB, free: 32.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/12.06, allocations: 9.562 kB / 3.541 GB, free: 32.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/12.06, allocations: 62.83 kB / 3.541 GB, free: 32.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.929e-05/12.06, allocations: 54.78 kB / 3.541 GB, free: 32.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009097/12.07, allocations: 2.028 MB / 3.543 GB, free: 32.66 MB / 458.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.01673/12.09, allocations: 10.53 MB / 3.553 GB, free: 25.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/12.09, allocations: 1.142 MB / 3.554 GB, free: 25.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06649/12.16, allocations: 19.07 MB / 3.573 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/12.16, allocations: 48.41 kB / 3.573 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001175/12.16, allocations: 122.1 kB / 3.573 GB, free: 15.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 4.419e-06/12.16, allocations: 3.656 kB / 3.573 GB, free: 15.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01935/12.18, allocations: 3.831 MB / 3.577 GB, free: 14.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/12.18, allocations: 163.7 kB / 3.577 GB, free: 14.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/12.18, allocations: 0.7667 MB / 3.578 GB, free: 14.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/12.18, allocations: 42.55 kB / 3.578 GB, free: 14.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/12.18, allocations: 0.7081 MB / 3.579 GB, free: 13.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/12.18, allocations: 340 kB / 3.579 GB, free: 13.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/12.18, allocations: 33.38 kB / 3.579 GB, free: 13.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/12.18, allocations: 380.5 kB / 3.579 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/12.19, allocations: 478.2 kB / 3.58 GB, free: 13.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/12.19, allocations: 1.157 MB / 3.581 GB, free: 12.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/12.19, allocations: 0.6521 MB / 3.581 GB, free: 12.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/12.19, allocations: 10.34 kB / 3.581 GB, free: 12.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00552/12.2, allocations: 1.731 MB / 3.583 GB, free: 12.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003599/12.2, allocations: 8.969 MB / 3.592 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.201e-05/12.2, allocations: 26.67 kB / 3.592 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008511/12.2, allocations: 139 kB / 3.592 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/12.2, allocations: 406.5 kB / 3.592 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/12.2, allocations: 1.217 MB / 3.594 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/12.21, allocations: 151 kB / 3.594 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/12.21, allocations: 89.94 kB / 3.594 GB, free: 17.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/12.21, allocations: 10.66 kB / 3.594 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005212/12.21, allocations: 1.642 MB / 3.596 GB, free: 17.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/12.21, allocations: 26.75 kB / 3.596 GB, free: 17.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007038/12.21, allocations: 139.9 kB / 3.596 GB, free: 17.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/12.22, allocations: 402.6 kB / 3.596 GB, free: 17.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/12.22, allocations: 1.218 MB / 3.597 GB, free: 16.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/12.22, allocations: 148.8 kB / 3.597 GB, free: 16.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/12.22, allocations: 89.86 kB / 3.597 GB, free: 16.79 MB / 474.7 MB 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.001264/12.22, allocations: 460.3 kB / 3.598 GB, free: 16.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/12.22, allocations: 119.5 kB / 3.598 GB, free: 16.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/12.23, allocations: 4.826 MB / 3.603 GB, free: 16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-05/12.23, allocations: 73.44 kB / 3.603 GB, free: 16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/12.23, allocations: 0 / 3.603 GB, free: 16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/12.23, allocations: 3.328 kB / 3.603 GB, free: 16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/12.24, allocations: 6.782 MB / 3.609 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/12.24, allocations: 0 / 3.609 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/12.24, allocations: 239.5 kB / 3.61 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/12.25, allocations: 179.3 kB / 3.61 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/12.25, allocations: 30.39 kB / 3.61 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/12.25, allocations: 1.234 MB / 3.611 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/12.25, allocations: 0 / 3.611 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007877/12.25, allocations: 3.997 MB / 3.615 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/12.26, allocations: 437.5 kB / 3.615 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/12.26, allocations: 28.05 kB / 3.615 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/12.26, allocations: 109.6 kB / 3.616 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/12.26, allocations: 88.28 kB / 3.616 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/12.26, allocations: 40.33 kB / 3.616 GB, free: 13.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001198/12.26, allocations: 0.6158 MB / 3.616 GB, free: 13.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/12.26, allocations: 0 / 3.616 GB, free: 13.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008446/12.27, allocations: 1.594 MB / 3.618 GB, free: 13.28 MB / 474.7 MB 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.01879/12.29, allocations: 6.398 MB / 3.624 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008147/12.3, allocations: 2.672 MB / 3.627 GB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/12.3, allocations: 0.5625 kB / 3.627 GB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/12.3, allocations: 1.323 MB / 3.628 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/12.3, allocations: 0.4997 MB / 3.628 GB, free: 11.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8218/13.12, allocations: 162.5 MB / 3.787 GB, free: 38.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/13.13, allocations: 1.557 MB / 3.789 GB, free: 37.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/13.13, allocations: 0.8226 MB / 3.789 GB, free: 37.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/13.13, allocations: 1.781 kB / 3.789 GB, free: 37.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.004/17.13, allocations: 63.81 MB / 3.852 GB, free: 20.98 MB / 490.7 MB