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_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 12 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4641, allocations: 48.7 MB / 331.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.6964, allocations: 86.8 MB / 418.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005596/0.697, allocations: 99.94 kB / 418.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1533/0.8503, allocations: 21.21 MB / 439.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8504, allocations: 0 / 439.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.8504, allocations: 8 kB / 439.5 MB, free: 1.945 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002236/0.8526, allocations: 0.7405 MB / 440.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.8527, allocations: 8.031 kB / 440.2 MB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008961/0.8617, allocations: 98.52 kB / 440.3 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.862, allocations: 51.34 kB / 440.4 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.863, allocations: 299.1 kB / 440.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.8631, allocations: 37 kB / 440.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.8633, allocations: 48 kB / 440.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006429/0.8697, allocations: 0.7117 MB / 441.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.8698, allocations: 3.984 kB / 441.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.8699, allocations: 20 kB / 441.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/0.87, allocations: 21 kB / 441.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.8729, allocations: 0.5193 MB / 442 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.8871, allocations: 1.543 MB / 443.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005144/0.8923, allocations: 327.7 kB / 443.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.8925, allocations: 11.98 kB / 443.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.8926, allocations: 34.56 kB / 444 MB, free: 13.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 5.381e-06/0.8926, allocations: 4 kB / 444 MB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.004143/0.8967, allocations: 1.013 MB / 445 MB, free: 12.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.8969, allocations: 110.8 kB / 445.1 MB, free: 12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.8985, allocations: 0.5049 MB / 445.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.8986, allocations: 25.7 kB / 445.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.8989, allocations: 266.8 kB / 445.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.8991, allocations: 82.88 kB / 445.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.8992, allocations: 4 kB / 446 MB, free: 11.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.8994, allocations: 322.8 kB / 446.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.9005, allocations: 163.8 kB / 446.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004418/0.9049, allocations: 260.7 kB / 446.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.906, allocations: 196.7 kB / 446.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9061, allocations: 0 / 446.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002454/0.9085, allocations: 476.3 kB / 447.3 MB, free: 9.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.9086, allocations: 8.438 kB / 447.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/0.9088, allocations: 39.97 kB / 447.4 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/0.9089, allocations: 11.98 kB / 447.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.9094, allocations: 39.86 kB / 447.4 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.9094, allocations: 8 kB / 447.4 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.9103, allocations: 79.25 kB / 447.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.9104, allocations: 20 kB / 447.5 MB, free: 9.465 MB / 378.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: 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 (30): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005928/0.911, allocations: 221.5 kB / 447.8 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.9112, allocations: 47.38 kB / 447.8 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.9136, allocations: 489.1 kB / 448.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.9137, allocations: 7.984 kB / 448.3 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.9137, allocations: 3.953 kB / 448.3 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.9137, allocations: 4 kB / 448.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.9152, allocations: 397.3 kB / 448.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001726/0.9154, allocations: 35.97 kB / 448.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.9158, allocations: 43.97 kB / 448.8 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.9158, allocations: 0 / 448.8 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.9159, allocations: 11.98 kB / 448.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.9159, allocations: 4 kB / 448.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.9159, allocations: 3.938 kB / 448.8 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.9182, allocations: 0.674 MB / 449.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.9188, allocations: 176.4 kB / 449.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.919, allocations: 7.953 kB / 449.6 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/0.9197, allocations: 27.97 kB / 449.7 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.9199, allocations: 27.92 kB / 449.7 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.92, allocations: 11.98 kB / 449.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001089/0.9211, allocations: 410.8 kB / 450.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9211, allocations: 0 / 450.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001675/0.9228, allocations: 183.8 kB / 450.3 MB, free: 6.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003266/0.9261, allocations: 1.543 MB / 451.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.928, allocations: 0.6841 MB / 452.5 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9281, allocations: 0 / 452.5 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009935/0.9291, allocations: 0.4926 MB / 453 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.93, allocations: 85.84 kB / 453.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/0.94, allocations: 5.395 MB / 458.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.9407, allocations: 0.886 MB / 459.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.9411, allocations: 131.4 kB / 459.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.9411, allocations: 0 / 459.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.75, allocations: 11.44 MB / 470.9 MB, free: 1.656 MB / 394.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_evenGapOverall_res.mat does not exist to compare? outputFormat=mat