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.37/2.37, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004609, allocations: 12 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.027/8.386, allocations: 2.597 GB / 2.957 GB, free: 99.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/8.386, allocations: 88.39 kB / 2.958 GB, free: 99.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.123/12.51, allocations: 0.8052 GB / 3.763 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.837e-06/12.51, allocations: 0 / 3.763 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001764/12.51, allocations: 54.42 kB / 3.763 GB, free: 32.47 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.01429/12.52, allocations: 3.107 MB / 3.766 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/12.52, allocations: 7.625 kB / 3.766 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/12.52, allocations: 269.6 kB / 3.766 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009525/12.53, allocations: 0.8382 MB / 3.767 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004163/12.54, allocations: 1.147 MB / 3.768 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005432/12.54, allocations: 465.5 kB / 3.768 GB, free: 29.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007514/12.54, allocations: 167 kB / 3.769 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/12.55, allocations: 3.174 MB / 3.772 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.7e-05/12.55, allocations: 19.75 kB / 3.772 GB, free: 27.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/12.55, allocations: 80.92 kB / 3.772 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/12.55, allocations: 90.92 kB / 3.772 GB, free: 27.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/12.56, allocations: 2.764 MB / 3.775 GB, free: 27 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.02403/12.59, allocations: 15.47 MB / 3.79 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/12.59, allocations: 1.269 MB / 3.791 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07733/12.67, allocations: 18.35 MB / 3.809 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/12.67, allocations: 48.44 kB / 3.809 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 3.426e-06/12.67, allocations: 0 / 3.809 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.02634/12.7, allocations: 4.804 MB / 3.814 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/12.7, allocations: 167.2 kB / 3.814 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/12.7, allocations: 1.065 MB / 3.815 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/12.7, allocations: 45.7 kB / 3.815 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009603/12.7, allocations: 0.985 MB / 3.816 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/12.7, allocations: 426.6 kB / 3.816 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/12.7, allocations: 52 kB / 3.816 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002601/12.7, allocations: 403.6 kB / 3.817 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/12.71, allocations: 0.6332 MB / 3.817 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4317/13.14, allocations: 1.933 MB / 3.819 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/13.14, allocations: 1.001 MB / 3.82 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-05/13.14, allocations: 12.41 kB / 3.82 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01076/13.15, allocations: 2.734 MB / 3.823 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/13.15, allocations: 27.14 kB / 3.823 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.868e-05/13.15, allocations: 46.78 kB / 3.823 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/13.15, allocations: 406.6 kB / 3.823 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/13.16, allocations: 0.5224 MB / 3.824 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/13.16, allocations: 2.717 MB / 3.826 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/13.16, allocations: 196.9 kB / 3.827 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/13.16, allocations: 146.7 kB / 3.827 GB, free: 47.06 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 () * Number of clocked 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.001419/13.16, allocations: 0.5462 MB / 3.827 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/13.17, allocations: 154.4 kB / 3.827 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009665/13.17, allocations: 4.658 MB / 3.832 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/13.17, allocations: 48.62 kB / 3.832 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/13.18, allocations: 3.953 kB / 3.832 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/13.18, allocations: 12.22 kB / 3.832 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/13.19, allocations: 6.797 MB / 3.839 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/13.19, allocations: 3.312 kB / 3.839 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/13.19, allocations: 221.5 kB / 3.839 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/13.19, allocations: 400.8 kB / 3.839 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/13.19, allocations: 36.17 kB / 3.839 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/13.19, allocations: 2.766 MB / 3.842 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/13.19, allocations: 3.375 kB / 3.842 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008562/13.2, allocations: 4.072 MB / 3.846 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/13.2, allocations: 445.6 kB / 3.846 GB, free: 43.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/13.2, allocations: 24.91 kB / 3.846 GB, free: 43.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/13.21, allocations: 124.8 kB / 3.847 GB, free: 43.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/13.21, allocations: 95.95 kB / 3.847 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/13.21, allocations: 46.97 kB / 3.847 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001578/13.21, allocations: 0.8164 MB / 3.847 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/13.21, allocations: 1.094 kB / 3.847 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007756/13.22, allocations: 1.469 MB / 3.849 GB, free: 42.91 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 () * Number of clocked 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.01932/13.24, allocations: 7.31 MB / 3.856 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006408/13.24, allocations: 2.174 MB / 3.858 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/13.24, allocations: 0 / 3.858 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/13.25, allocations: 1.31 MB / 3.859 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/13.25, allocations: 0.6132 MB / 3.86 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.11/14.36, allocations: 256.2 MB / 4.11 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/14.36, allocations: 1.639 MB / 4.112 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/14.36, allocations: 0.8725 MB / 4.113 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/14.36, allocations: 3.562 kB / 4.113 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.673/19.04, allocations: 85.79 MB / 4.196 GB, free: 13.29 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