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.Channel.kc_evenGapOverall_KC.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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004433, allocations: 8 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5116, allocations: 92.65 MB / 462 MB, free: 13.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/0.512, allocations: 99.94 kB / 462.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3898/0.9019, allocations: 20.23 MB / 482.4 MB, free: 96.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9019, allocations: 1 kB / 482.4 MB, free: 96.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.902, allocations: 10.38 kB / 482.4 MB, free: 96.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001718/0.9037, allocations: 0.6891 MB / 483.1 MB, free: 95.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.9038, allocations: 9.75 kB / 483.1 MB, free: 95.58 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.904, allocations: 101.1 kB / 483.2 MB, free: 95.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.9041, allocations: 56.05 kB / 483.2 MB, free: 95.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.9047, allocations: 304.7 kB / 483.5 MB, free: 95.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.9047, allocations: 40.53 kB / 483.6 MB, free: 95.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.9049, allocations: 53.75 kB / 483.6 MB, free: 95.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9064, allocations: 0.6839 MB / 484.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.9065, allocations: 0 / 484.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.9066, allocations: 17.91 kB / 484.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-05/0.9067, allocations: 47.27 kB / 484.4 MB, free: 95.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.9083, allocations: 0.7525 MB / 485.1 MB, free: 95.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.9115, allocations: 1.451 MB / 486.6 MB, free: 94.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.9127, allocations: 459.5 kB / 487 MB, free: 94.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/0.9128, allocations: 16.05 kB / 487 MB, free: 94.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.9129, allocations: 30.8 kB / 487 MB, free: 94.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.865e-06/0.9129, allocations: 0 / 487 MB, free: 94.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001715/0.9146, allocations: 0.5449 MB / 487.6 MB, free: 94.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.9147, allocations: 55.38 kB / 487.6 MB, free: 94.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.9154, allocations: 484.6 kB / 488.1 MB, free: 93.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.9155, allocations: 29.7 kB / 488.2 MB, free: 93.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.9156, allocations: 283.4 kB / 488.4 MB, free: 93.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.9157, allocations: 101.8 kB / 488.5 MB, free: 93.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.9158, allocations: 11.84 kB / 488.5 MB, free: 93.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.9159, allocations: 330.5 kB / 488.9 MB, free: 93.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.9164, allocations: 167.7 kB / 489 MB, free: 93.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.9169, allocations: 293.1 kB / 489.3 MB, free: 93.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.9175, allocations: 221.7 kB / 489.5 MB, free: 93.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.9175, allocations: 0 / 489.5 MB, free: 93.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001404/0.9189, allocations: 0.5098 MB / 490 MB, free: 92.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.919, allocations: 10.59 kB / 490 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.919, allocations: 3.469 kB / 490.1 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.9191, allocations: 7.969 kB / 490.1 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.9208, allocations: 222.5 kB / 490.3 MB, free: 92.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.9242, allocations: 7.312 MB / 497.6 MB, free: 85.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.9249, allocations: 66.58 kB / 497.7 MB, free: 85.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.925, allocations: 26.62 kB / 497.7 MB, free: 85.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003776/0.9254, allocations: 231.2 kB / 497.9 MB, free: 85.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.9255, allocations: 43.78 kB / 497.9 MB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.9271, allocations: 0.5443 MB / 498.5 MB, free: 85.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.9272, allocations: 3.719 kB / 498.5 MB, free: 85.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.9272, allocations: 6.875 kB / 498.5 MB, free: 85.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.9272, allocations: 0 / 498.5 MB, free: 85.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.928, allocations: 432 kB / 498.9 MB, free: 85.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.928, allocations: 0 / 498.9 MB, free: 85.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.9296, allocations: 201.4 kB / 499.1 MB, free: 84.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-06/0.9296, allocations: 0 / 499.1 MB, free: 84.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.9297, allocations: 11.89 kB / 499.1 MB, free: 84.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.933, allocations: 7.304 MB / 0.4946 GB, free: 77.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9331, allocations: 0 / 0.4946 GB, free: 77.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.9343, allocations: 0.5034 MB / 0.4951 GB, free: 77.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.9345, allocations: 128.5 kB / 0.4952 GB, free: 76.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.9347, allocations: 4 kB / 0.4952 GB, free: 76.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.9351, allocations: 15.98 kB / 0.4952 GB, free: 76.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.9352, allocations: 27.97 kB / 0.4952 GB, free: 76.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.9353, allocations: 11.98 kB / 0.4952 GB, free: 76.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005541/0.9358, allocations: 387 kB / 0.4956 GB, free: 76.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.9358, allocations: 3.938 kB / 0.4956 GB, free: 76.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009434/0.9368, allocations: 183.7 kB / 0.4958 GB, free: 76.27 MB / 394.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/0.9388, allocations: 1.223 MB / 0.497 GB, free: 75.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.9413, allocations: 0.5076 MB / 0.4975 GB, free: 74.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9413, allocations: 0.5625 kB / 0.4975 GB, free: 74.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.943, allocations: 307.6 kB / 0.4978 GB, free: 74.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.9438, allocations: 86.45 kB / 0.4979 GB, free: 74.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/0.9507, allocations: 5.981 MB / 0.5037 GB, free: 68.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.9512, allocations: 0.8975 MB / 0.5046 GB, free: 67.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.9515, allocations: 143.4 kB / 0.5047 GB, free: 66.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9515, allocations: 0 / 0.5047 GB, free: 66.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.577/4.529, allocations: 31.64 MB / 0.5356 GB, free: 35.36 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat