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.TestTemperature2.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.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.433e-05/4.444e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4273, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.025/8.453, allocations: 2.597 GB / 2.953 GB, free: 110.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/8.453, allocations: 86.56 kB / 2.953 GB, free: 110.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.29/12.74, allocations: 0.8029 GB / 3.756 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.895e-06/12.74, allocations: 1.75 kB / 3.756 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001887/12.74, allocations: 48.28 kB / 3.756 GB, free: 33.43 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01372/12.76, allocations: 2.973 MB / 3.759 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/12.76, allocations: 10.28 kB / 3.759 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/12.76, allocations: 257.7 kB / 3.759 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009661/12.77, allocations: 0.854 MB / 3.76 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/12.77, allocations: 1.142 MB / 3.761 GB, free: 31.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005159/12.77, allocations: 457.6 kB / 3.761 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006934/12.77, allocations: 174.7 kB / 3.761 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/12.78, allocations: 3.112 MB / 3.765 GB, free: 30.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-05/12.78, allocations: 12.5 kB / 3.765 GB, free: 30.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004201/12.78, allocations: 84.75 kB / 3.765 GB, free: 30.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/12.78, allocations: 81.22 kB / 3.765 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009555/12.79, allocations: 2.556 MB / 3.767 GB, free: 30.49 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.02677/12.82, allocations: 15.46 MB / 3.782 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/12.83, allocations: 1.236 MB / 3.783 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009748/12.83, allocations: 391.7 kB / 3.784 GB, free: 19.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1346/12.96, allocations: 18.43 MB / 3.802 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/12.96, allocations: 47.53 kB / 3.802 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 3.907e-06/12.96, allocations: 3.594 kB / 3.802 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.02006/12.98, allocations: 4.276 MB / 3.806 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/12.98, allocations: 176.2 kB / 3.806 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/12.98, allocations: 1.043 MB / 3.807 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003297/12.98, allocations: 49.92 kB / 3.807 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008243/12.98, allocations: 0.9947 MB / 3.808 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006206/12.99, allocations: 425.5 kB / 3.809 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/12.99, allocations: 49.22 kB / 3.809 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002664/12.99, allocations: 403.5 kB / 3.809 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/12.99, allocations: 0.5374 MB / 3.81 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/12.99, allocations: 1.838 MB / 3.811 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/12.99, allocations: 0.9092 MB / 3.812 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.658e-05/12.99, allocations: 11.62 kB / 3.812 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007509/13, allocations: 2.535 MB / 3.815 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/13, allocations: 27.5 kB / 3.815 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-05/13, allocations: 46.91 kB / 3.815 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/13, allocations: 400.8 kB / 3.815 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/13.01, allocations: 0.5187 MB / 3.816 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/13.01, allocations: 2.708 MB / 3.818 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/13.01, allocations: 196.9 kB / 3.819 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/13.01, allocations: 146.4 kB / 3.819 GB, free: 21.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006941/13.01, allocations: 317.4 kB / 3.819 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/13.01, allocations: 149 kB / 3.819 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008031/13.02, allocations: 4.526 MB / 3.824 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.38e-05/13.02, allocations: 48.59 kB / 3.824 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/13.02, allocations: 4 kB / 3.824 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/13.02, allocations: 7.312 kB / 3.824 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/13.04, allocations: 6.677 MB / 3.83 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/13.04, allocations: 0 / 3.83 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/13.04, allocations: 221.3 kB / 3.83 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/13.04, allocations: 401.2 kB / 3.831 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/13.04, allocations: 35.19 kB / 3.831 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/13.04, allocations: 2.748 MB / 3.834 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/13.04, allocations: 12.06 kB / 3.834 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007227/13.05, allocations: 3.796 MB / 3.837 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/13.05, allocations: 451.1 kB / 3.838 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/13.05, allocations: 26.22 kB / 3.838 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/13.05, allocations: 116.7 kB / 3.838 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/13.05, allocations: 106.4 kB / 3.838 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/13.05, allocations: 45.47 kB / 3.838 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001675/13.06, allocations: 0.8 MB / 3.839 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/13.06, allocations: 0 / 3.839 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008064/13.06, allocations: 1.468 MB / 3.84 GB, free: 16.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01868/13.08, allocations: 7.05 MB / 3.847 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005101/13.09, allocations: 1.976 MB / 3.849 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/13.09, allocations: 3.781 kB / 3.849 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003136/13.09, allocations: 1.216 MB / 3.85 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005814/13.1, allocations: 0.6132 MB / 3.851 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.063/14.16, allocations: 217.4 MB / 4.063 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/14.16, allocations: 1.641 MB / 4.065 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/14.16, allocations: 0.8765 MB / 4.066 GB, free: 22.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/14.16, allocations: 0 / 4.066 GB, free: 22.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.05/19.21, allocations: 86.9 MB / 4.15 GB, free: 67.31 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat