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.Channel.kc_evenGapTurbulent_KC.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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006562/0.0006563, allocations: 8 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3446, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.4902, allocations: 78.58 MB / 410 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/0.4907, allocations: 103.9 kB / 410.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.5219, allocations: 6.672 MB / 416.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5219, allocations: 7.938 kB / 416.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5219, allocations: 4 kB / 416.7 MB, free: 8.895 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007951/0.5227, allocations: 427.1 kB / 417.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5228, allocations: 12.03 kB / 417.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.5e-05/0.5229, allocations: 46.55 kB / 417.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.5229, allocations: 11.81 kB / 417.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.5232, allocations: 210.7 kB / 417.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.5233, allocations: 8 kB / 417.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.5233, allocations: 8 kB / 417.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.5239, allocations: 173.6 kB / 417.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5239, allocations: 0 / 417.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.5239, allocations: 3.984 kB / 417.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.524, allocations: 12.48 kB / 417.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.5246, allocations: 187.8 kB / 417.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.5259, allocations: 0.4922 MB / 418.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.5266, allocations: 158.5 kB / 418.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.5266, allocations: 0 / 418.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5267, allocations: 42.69 kB / 418.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.5267, allocations: 0 / 418.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009253/0.5276, allocations: 213.3 kB / 418.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5277, allocations: 55.41 kB / 418.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.528, allocations: 182.7 kB / 419 MB, free: 6.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.528, allocations: 25.7 kB / 419 MB, free: 6.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5281, allocations: 174.3 kB / 419.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.5282, allocations: 31.55 kB / 419.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5282, allocations: 8 kB / 419.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5284, allocations: 310.8 kB / 419.5 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.5287, allocations: 55.94 kB / 419.5 MB, free: 5.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.529, allocations: 78.53 kB / 419.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.5293, allocations: 63.88 kB / 419.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5293, allocations: 4 kB / 419.7 MB, free: 5.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006322/0.5299, allocations: 169.8 kB / 419.9 MB, free: 5.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.53, allocations: 4 kB / 419.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.53, allocations: 0 / 419.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.53, allocations: 7.984 kB / 419.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.5305, allocations: 52.11 kB / 419.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009712/0.5315, allocations: 1.223 MB / 421.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.5318, allocations: 24.11 kB / 421.2 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.5318, allocations: 4 kB / 421.2 MB, free: 4.191 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.532, allocations: 141.7 kB / 421.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.5321, allocations: 11.89 kB / 421.3 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.5328, allocations: 194.8 kB / 421.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5329, allocations: 3.953 kB / 421.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5329, allocations: 3.938 kB / 421.5 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5329, allocations: 0 / 421.5 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.5333, allocations: 225.6 kB / 421.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5333, allocations: 0 / 421.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.5338, allocations: 43.97 kB / 421.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.5338, allocations: 0 / 421.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.5338, allocations: 11.98 kB / 421.8 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008868/0.5347, allocations: 1.219 MB / 423 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5347, allocations: 3.984 kB / 423 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.5354, allocations: 263.5 kB / 423.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.5355, allocations: 88.92 kB / 423.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.5355, allocations: 0 / 423.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.5358, allocations: 15.98 kB / 423.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.5358, allocations: 11.98 kB / 423.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.5359, allocations: 0 / 423.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.5361, allocations: 153.1 kB / 423.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5361, allocations: 0 / 423.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.5365, allocations: 47.94 kB / 423.6 MB, free: 1.633 MB / 346.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.5378, allocations: 0.8372 MB / 424.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008328/0.5386, allocations: 147.8 kB / 424.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5386, allocations: 0 / 424.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.5391, allocations: 87.86 kB / 424.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.5395, allocations: 24.3 kB / 424.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.5425, allocations: 1.425 MB / 426.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.5429, allocations: 0.7279 MB / 426.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.543, allocations: 39.42 kB / 426.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5431, allocations: 0 / 426.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.844/3.387, allocations: 4.204 MB / 431.1 MB, free: 10.03 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.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat