Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007273/0.0007274, allocations: 16 kB / 282.7 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4799, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.6719, allocations: 83.14 MB / 414.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/0.6724, allocations: 91.94 kB / 414.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03505/0.7074, allocations: 7.838 MB / 422.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7075, allocations: 0 / 422.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.7075, allocations: 4 kB / 422.5 MB, free: 3.176 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008738/0.7084, allocations: 482.5 kB / 422.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.7085, allocations: 12.03 kB / 422.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.7086, allocations: 54.55 kB / 423 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.7087, allocations: 23.72 kB / 423 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.709, allocations: 214.6 kB / 423.2 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.709, allocations: 15.94 kB / 423.2 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.7091, allocations: 20 kB / 423.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.7097, allocations: 198.7 kB / 423.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7097, allocations: 0 / 423.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.7097, allocations: 16 kB / 423.5 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.7098, allocations: 4 kB / 423.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.7103, allocations: 156.2 kB / 423.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.7116, allocations: 0.5767 MB / 424.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.7119, allocations: 66.48 kB / 424.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.712, allocations: 8.062 kB / 424.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.712, allocations: 38.59 kB / 424.3 MB, free: 1.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.955e-06/0.712, allocations: 0 / 424.3 MB, free: 1.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008466/0.7129, allocations: 299.6 kB / 424.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.713, allocations: 59.41 kB / 424.7 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.7133, allocations: 225.8 kB / 424.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.7134, allocations: 29.7 kB / 424.9 MB, free: 492 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.7135, allocations: 222 kB / 425.1 MB, free: 268 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.7136, allocations: 19.75 kB / 425.1 MB, free: 248 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.7136, allocations: 0 / 425.1 MB, free: 248 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7137, allocations: 318.8 kB / 425.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.714, allocations: 43.97 kB / 425.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.7143, allocations: 136.8 kB / 425.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.7146, allocations: 59.92 kB / 425.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7146, allocations: 0 / 425.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006622/0.7152, allocations: 197.2 kB / 425.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7153, allocations: 8 kB / 425.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/0.7153, allocations: 12.44 kB / 425.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.7154, allocations: 11.94 kB / 425.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7156, allocations: 35.91 kB / 426 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.7156, allocations: 4 kB / 426 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.7159, allocations: 35.69 kB / 426 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.7159, allocations: 11.98 kB / 426 MB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001773/0.7161, allocations: 129.7 kB / 426.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.7162, allocations: 23.81 kB / 426.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006539/0.7168, allocations: 154.7 kB / 426.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.7169, allocations: 0 / 426.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7169, allocations: 3.938 kB / 426.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7169, allocations: 0 / 426.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.7172, allocations: 225.5 kB / 426.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/0.7173, allocations: 12.17 kB / 426.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.7174, allocations: 15.98 kB / 426.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.7174, allocations: 4.141 kB / 426.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.7174, allocations: 4 kB / 426.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7175, allocations: 0 / 426.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7175, allocations: 3.984 kB / 426.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.718, allocations: 211.2 kB / 426.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.7181, allocations: 100.9 kB / 426.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.7181, allocations: 0 / 426.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.7183, allocations: 7.984 kB / 426.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.7184, allocations: 8 kB / 426.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.7184, allocations: 4 kB / 426.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.7187, allocations: 178 kB / 427.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7187, allocations: 0 / 427.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006093/0.7193, allocations: 79.94 kB / 427.1 MB, free: 14.08 MB / 362.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00128/0.7206, allocations: 0.8572 MB / 428 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.7213, allocations: 180.1 kB / 428.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7214, allocations: 0 / 428.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.7217, allocations: 121.1 kB / 428.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.7221, allocations: 20.89 kB / 428.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.7258, allocations: 3.377 MB / 431.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.7262, allocations: 0.7362 MB / 432.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.7263, allocations: 63.36 kB / 432.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7263, allocations: 0 / 432.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.03/3.757, allocations: 5.446 MB / 437.9 MB, free: 3.094 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat