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.485/2.485, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.719e-05, allocations: 4 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4643, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.056/8.521, allocations: 2.601 GB / 2.957 GB, free: 112.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/8.521, allocations: 84.78 kB / 2.957 GB, free: 112.3 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.643/12.16, allocations: 0.7364 GB / 3.694 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/12.16, allocations: 0 / 3.694 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001346/12.16, allocations: 43.88 kB / 3.694 GB, free: 2.723 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.01188/12.18, allocations: 2.67 MB / 3.696 GB, free: 0 / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 0.4143/12.59, allocations: 8.766 kB / 3.696 GB, free: 32 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001085/12.59, allocations: 188 kB / 3.697 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009727/12.6, allocations: 0.7444 MB / 3.697 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/12.61, allocations: 0.9677 MB / 3.698 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/12.61, allocations: 236.2 kB / 3.698 GB, free: 31.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006982/12.61, allocations: 124.4 kB / 3.699 GB, free: 31.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009264/12.62, allocations: 2.244 MB / 3.701 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.858e-05/12.62, allocations: 8.219 kB / 3.701 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/12.62, allocations: 60.28 kB / 3.701 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/12.62, allocations: 55.19 kB / 3.701 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008484/12.62, allocations: 1.884 MB / 3.703 GB, free: 30.96 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.02046/12.65, allocations: 10.53 MB / 3.713 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/12.65, allocations: 1.114 MB / 3.714 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/12.65, allocations: 386.2 kB / 3.715 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08532/12.74, allocations: 19.23 MB / 3.733 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.904e-05/12.74, allocations: 55.14 kB / 3.733 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001692/12.74, allocations: 112.2 kB / 3.733 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 7.244e-06/12.74, allocations: 2.188 kB / 3.733 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.02554/12.76, allocations: 3.364 MB / 3.737 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/12.76, allocations: 169.1 kB / 3.737 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/12.77, allocations: 0.7604 MB / 3.738 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003516/12.77, allocations: 47.7 kB / 3.738 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008653/12.77, allocations: 0.6959 MB / 3.738 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/12.77, allocations: 352.3 kB / 3.739 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/12.77, allocations: 30.03 kB / 3.739 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003022/12.77, allocations: 375.2 kB / 3.739 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/12.77, allocations: 404.8 kB / 3.739 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/12.77, allocations: 1.078 MB / 3.741 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/12.78, allocations: 0.5853 MB / 3.741 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/12.78, allocations: 6.25 kB / 3.741 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006414/12.78, allocations: 1.573 MB / 3.743 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.004652/12.79, allocations: 8.966 MB / 3.751 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/12.79, allocations: 30.5 kB / 3.751 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/12.79, allocations: 131.7 kB / 3.752 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/12.79, allocations: 403.7 kB / 3.752 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/12.79, allocations: 1.206 MB / 3.753 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/12.8, allocations: 153.4 kB / 3.753 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/12.8, allocations: 98.06 kB / 3.753 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/12.8, allocations: 5.125 kB / 3.753 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003869/12.8, allocations: 1.482 MB / 3.755 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/12.8, allocations: 23.06 kB / 3.755 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/12.8, allocations: 131 kB / 3.755 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/12.8, allocations: 405.9 kB / 3.755 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/12.81, allocations: 1.212 MB / 3.757 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/12.81, allocations: 152.3 kB / 3.757 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/12.81, allocations: 88.83 kB / 3.757 GB, free: 15.37 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 () * 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.0005768/12.81, allocations: 237.5 kB / 3.757 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/12.81, allocations: 115.2 kB / 3.757 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007839/12.82, allocations: 4.838 MB / 3.762 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.958e-05/12.82, allocations: 72.86 kB / 3.762 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/12.82, allocations: 2.438 kB / 3.762 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/12.82, allocations: 6.844 kB / 3.762 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/12.83, allocations: 6.785 MB / 3.769 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/12.83, allocations: 0 / 3.769 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/12.83, allocations: 240.1 kB / 3.769 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/12.83, allocations: 169.3 kB / 3.769 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/12.83, allocations: 32.78 kB / 3.769 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/12.84, allocations: 1.225 MB / 3.77 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/12.84, allocations: 4 kB / 3.77 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/12.85, allocations: 3.77 MB / 3.774 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006321/12.86, allocations: 438.8 kB / 3.774 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004857/12.86, allocations: 18.41 kB / 3.774 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/12.86, allocations: 112.8 kB / 3.774 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/12.86, allocations: 89.81 kB / 3.774 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/12.86, allocations: 35.31 kB / 3.774 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005495/12.87, allocations: 0.6039 MB / 3.775 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.044e-06/12.87, allocations: 0 / 3.775 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01892/12.89, allocations: 1.614 MB / 3.777 GB, free: 28.13 MB / 0.5261 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 () * 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.02716/12.91, allocations: 6.196 MB / 3.783 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006088/12.92, allocations: 2.477 MB / 3.785 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/12.92, allocations: 2.219 kB / 3.785 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/12.92, allocations: 1.254 MB / 3.786 GB, free: 27.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/12.93, allocations: 0.5133 MB / 3.787 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9686/13.9, allocations: 143.5 MB / 3.927 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/13.9, allocations: 1.555 MB / 3.929 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/13.9, allocations: 0.8215 MB / 3.929 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.814e-06/13.9, allocations: 0 / 3.929 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.267/18.17, allocations: 65.36 MB / 3.993 GB, free: 54.25 MB / 0.5261 GB