Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.0005977, allocations: 12 kB / 314.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3985, allocations: 54.87 MB / 369.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.5713, allocations: 96.11 MB / 465.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003805/0.5717, allocations: 95.92 kB / 465.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0591/0.6308, allocations: 12.33 MB / 477.9 MB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6309, allocations: 0 / 477.9 MB, free: 20 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.6309, allocations: 4 kB / 477.9 MB, free: 16 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001175/0.6321, allocations: 0.6127 MB / 478.5 MB, free: 15.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6321, allocations: 8.031 kB / 478.5 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.6323, allocations: 78.47 kB / 478.6 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.6324, allocations: 39.53 kB / 478.7 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.6327, allocations: 242.5 kB / 478.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.6328, allocations: 25 kB / 478.9 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6329, allocations: 32 kB / 479 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.6338, allocations: 366.5 kB / 479.3 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6338, allocations: 3.938 kB / 479.3 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.6339, allocations: 16 kB / 479.3 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.6339, allocations: 11.98 kB / 479.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.6347, allocations: 271.9 kB / 479.6 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.6366, allocations: 0.8884 MB / 480.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.637, allocations: 94.48 kB / 480.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.6371, allocations: 7.984 kB / 480.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.6371, allocations: 30.56 kB / 480.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.995e-06/0.6371, allocations: 0 / 480.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001129/0.6383, allocations: 0.5133 MB / 481.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.6383, allocations: 55.36 kB / 481.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.6389, allocations: 349 kB / 481.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.639, allocations: 25.7 kB / 481.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.6392, allocations: 289.5 kB / 481.8 MB, free: 11.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.6393, allocations: 35.55 kB / 481.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.6393, allocations: 4 kB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6395, allocations: 335.1 kB / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6398, allocations: 60 kB / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.6403, allocations: 262 kB / 482.5 MB, free: 11.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.6407, allocations: 111.8 kB / 482.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6407, allocations: 0 / 482.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001086/0.6418, allocations: 321.3 kB / 482.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.6418, allocations: 8 kB / 483 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.851e-05/0.6419, allocations: 27.98 kB / 483 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.642, allocations: 8 kB / 483 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.6423, allocations: 63.84 kB / 483 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.6423, allocations: 16.41 kB / 483.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.6428, allocations: 67.31 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.6428, allocations: 20 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.6431, allocations: 153.6 kB / 483.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.6432, allocations: 35.53 kB / 483.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/0.6441, allocations: 224.6 kB / 483.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6441, allocations: 4 kB / 483.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6441, allocations: 0 / 483.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6442, allocations: 0 / 483.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.6447, allocations: 281.5 kB / 483.8 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.875e-05/0.6447, allocations: 19.98 kB / 483.9 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6449, allocations: 12 kB / 483.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.6449, allocations: 3.984 kB / 483.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.6449, allocations: 4 kB / 483.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6449, allocations: 0 / 483.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6449, allocations: 4.188 kB / 483.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.6456, allocations: 266.9 kB / 484.1 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.6458, allocations: 116.6 kB / 484.2 MB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.6459, allocations: 4 kB / 484.3 MB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.6461, allocations: 11.98 kB / 484.3 MB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.6462, allocations: 4 kB / 484.3 MB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.6462, allocations: 7.984 kB / 484.3 MB, free: 9.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004273/0.6467, allocations: 271.2 kB / 484.5 MB, free: 8.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6467, allocations: 0 / 484.5 MB, free: 8.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009768/0.6476, allocations: 139.9 kB / 484.7 MB, free: 8.766 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002334/0.65, allocations: 0.9654 MB / 485.6 MB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.6514, allocations: 329.6 kB / 486 MB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6514, allocations: 0 / 486 MB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.6521, allocations: 186.7 kB / 486.1 MB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.6527, allocations: 37 kB / 486.2 MB, free: 7.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.6614, allocations: 6.417 MB / 492.6 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.6621, allocations: 0.7833 MB / 493.4 MB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.6624, allocations: 111.4 kB / 493.5 MB, free: 15.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6625, allocations: 0 / 493.5 MB, free: 15.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.859/3.522, allocations: 11.38 MB / 0.493 GB, free: 4.301 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat