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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.36/2.36, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.326e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.356, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.975/8.331, allocations: 2.601 GB / 2.95 GB, free: 120.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/8.331, allocations: 85.89 kB / 2.95 GB, free: 120.7 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.923/12.25, allocations: 0.7296 GB / 3.68 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/12.25, allocations: 0 / 3.68 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001632/12.25, allocations: 40.09 kB / 3.68 GB, free: 39.32 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.01326/12.27, allocations: 2.669 MB / 3.683 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/12.27, allocations: 11.84 kB / 3.683 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009148/12.28, allocations: 0.7407 MB / 3.683 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/12.28, allocations: 0.9691 MB / 3.684 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/12.28, allocations: 194.1 kB / 3.684 GB, free: 37.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005198/12.28, allocations: 72.44 kB / 3.685 GB, free: 37.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004145/12.29, allocations: 1.309 MB / 3.686 GB, free: 37.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/12.29, allocations: 1.621 MB / 3.687 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/12.29, allocations: 10.44 kB / 3.687 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/12.29, allocations: 10.36 kB / 3.687 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.18e-05/12.29, allocations: 53.75 kB / 3.687 GB, free: 37.29 MB / 0.4948 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.3416/12.63, allocations: 81.4 MB / 3.767 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/12.63, allocations: 0.6408 MB / 3.768 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007084/12.64, allocations: 334.8 kB / 3.768 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0529/12.69, allocations: 14.63 MB / 3.782 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/12.69, allocations: 49.78 kB / 3.782 GB, free: 23.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/12.69, allocations: 96.3 kB / 3.782 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 4.329e-06/12.69, allocations: 0 / 3.782 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.02076/12.71, allocations: 3.137 MB / 3.785 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/12.71, allocations: 166.2 kB / 3.786 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/12.71, allocations: 0.7185 MB / 3.786 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/12.71, allocations: 29.58 kB / 3.786 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/12.71, allocations: 0.7395 MB / 3.787 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/12.71, allocations: 303.8 kB / 3.787 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/12.71, allocations: 0 / 3.787 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002697/12.71, allocations: 369.7 kB / 3.788 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/12.72, allocations: 372.5 kB / 3.788 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/12.72, allocations: 1.041 MB / 3.789 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005907/12.72, allocations: 0.7639 MB / 3.79 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-05/12.72, allocations: 6.469 kB / 3.79 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009111/12.73, allocations: 1.608 MB / 3.791 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0053/12.74, allocations: 8.961 MB / 3.8 GB, free: 27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/12.74, allocations: 27.91 kB / 3.8 GB, free: 27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/12.74, allocations: 123.3 kB / 3.8 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/12.74, allocations: 406 kB / 3.801 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/12.74, allocations: 1.227 MB / 3.802 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/12.75, allocations: 135.2 kB / 3.802 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/12.75, allocations: 91.2 kB / 3.802 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/12.75, allocations: 10.81 kB / 3.802 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007172/12.76, allocations: 1.386 MB / 3.803 GB, free: 25.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.624e-05/12.76, allocations: 28.31 kB / 3.803 GB, free: 25.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/12.76, allocations: 123.6 kB / 3.804 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/12.76, allocations: 408.3 kB / 3.804 GB, free: 25.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/12.76, allocations: 1.218 MB / 3.805 GB, free: 24.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/12.76, allocations: 125.8 kB / 3.805 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/12.76, allocations: 92.27 kB / 3.805 GB, free: 24.79 MB / 0.5417 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 (volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase,volume2.inFlow[2],volume2.inFlow[1],sink1.medium.phase,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 (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.0007022/12.77, allocations: 179.4 kB / 3.805 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007089/12.77, allocations: 1.022 MB / 3.806 GB, free: 24.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/12.77, allocations: 117.2 kB / 3.807 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/12.79, allocations: 4.128 MB / 3.811 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/12.79, allocations: 62.56 kB / 3.811 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/12.79, allocations: 4 kB / 3.811 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/12.79, allocations: 4.453 kB / 3.811 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/12.8, allocations: 5.798 MB / 3.816 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/12.8, allocations: 0 / 3.816 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/12.81, allocations: 211.3 kB / 3.817 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009732/12.81, allocations: 160.2 kB / 3.817 GB, free: 23.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/12.81, allocations: 21.27 kB / 3.817 GB, free: 23.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/12.81, allocations: 1.283 MB / 3.818 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/12.81, allocations: 0 / 3.818 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008763/12.82, allocations: 3.609 MB / 3.822 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/12.82, allocations: 371.5 kB / 3.822 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/12.82, allocations: 2.875 kB / 3.822 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/12.82, allocations: 85.73 kB / 3.822 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/12.82, allocations: 93.22 kB / 3.822 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/12.82, allocations: 32.03 kB / 3.822 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009881/12.82, allocations: 0.4998 MB / 3.823 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.21e-07/12.82, allocations: 0.8438 kB / 3.823 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008324/12.83, allocations: 1.479 MB / 3.824 GB, free: 21.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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.01838/12.85, allocations: 6.46 MB / 3.83 GB, free: 19.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005957/12.85, allocations: 2.27 MB / 3.833 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/12.85, allocations: 0 / 3.833 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/12.86, allocations: 1.138 MB / 3.834 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/12.86, allocations: 465.8 kB / 3.834 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/12.87, allocations: 3.725 MB / 3.838 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/12.87, allocations: 1.473 MB / 3.839 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/12.88, allocations: 0.7487 MB / 3.84 GB, free: 16.15 MB / 0.5417 GB Notification: Performance of SimCode: time 1.282e-06/12.88, allocations: 0 / 3.84 GB, free: 16.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.901/17.78, allocations: 63.48 MB / 3.902 GB, free: 81.35 MB / 0.5417 GB