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.Plate.kc_turbulent_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.325e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3979, allocations: 54.85 MB / 358.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5589, allocations: 83.13 MB / 441.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/0.5593, allocations: 95.92 kB / 441.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02813/0.5875, allocations: 5.674 MB / 447.1 MB, free: 5.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5876, allocations: 0 / 447.1 MB, free: 5.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.5876, allocations: 4 kB / 447.1 MB, free: 5.797 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008288/0.5884, allocations: 424 kB / 447.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.5885, allocations: 12.03 kB / 447.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.5899, allocations: 111.6 kB / 447.6 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.5904, allocations: 224.2 kB / 447.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5905, allocations: 4 kB / 447.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.5905, allocations: 4 kB / 447.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007371/0.5913, allocations: 252.1 kB / 448.1 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.5919, allocations: 263.9 kB / 448.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.592, allocations: 4 kB / 448.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.592, allocations: 3.984 kB / 448.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.5921, allocations: 19.94 kB / 448.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.5946, allocations: 0.662 MB / 449 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.5954, allocations: 258.2 kB / 449.3 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.5957, allocations: 88.92 kB / 449.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.5957, allocations: 11.92 kB / 449.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5958, allocations: 38.5 kB / 449.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.687e-06/0.5958, allocations: 0 / 449.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007484/0.5965, allocations: 217.4 kB / 449.6 MB, free: 3.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.5966, allocations: 59.36 kB / 449.7 MB, free: 3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.5968, allocations: 144.8 kB / 449.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.5969, allocations: 25.7 kB / 449.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.597, allocations: 190.5 kB / 450 MB, free: 2.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.5971, allocations: 43.39 kB / 450.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.5972, allocations: 0 / 450.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5974, allocations: 322.8 kB / 450.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.5976, allocations: 83.89 kB / 450.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.5979, allocations: 110 kB / 450.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.5982, allocations: 104.1 kB / 450.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5982, allocations: 0 / 450.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007044/0.5989, allocations: 253.3 kB / 450.9 MB, free: 1.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.599, allocations: 4 kB / 450.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.599, allocations: 0 / 450.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.599, allocations: 4 kB / 450.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03761/0.6366, allocations: 0.9319 MB / 451.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0374/0.6741, allocations: 9.667 MB / 461.5 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.6749, allocations: 27.84 kB / 461.6 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.6749, allocations: 15.97 kB / 461.6 MB, free: 6.363 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.6751, allocations: 108.9 kB / 461.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006561/0.6758, allocations: 221.3 kB / 461.9 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.6758, allocations: 11.91 kB / 461.9 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.6901, allocations: 0.6289 MB / 462.5 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.6901, allocations: 0 / 462.5 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6901, allocations: 4 kB / 462.5 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.6902, allocations: 0 / 462.5 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.6907, allocations: 245.9 kB / 462.8 MB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6907, allocations: 3.953 kB / 462.8 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.6912, allocations: 35.97 kB / 462.8 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01645/0.7077, allocations: 477.8 kB / 463.3 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.7078, allocations: 11.97 kB / 463.3 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.343/1.051, allocations: 9.081 MB / 472.4 MB, free: 98.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.051, allocations: 3.281 kB / 472.4 MB, free: 98.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.065, allocations: 0.6728 MB / 473 MB, free: 97.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/1.065, allocations: 90.66 kB / 473.1 MB, free: 97.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/1.065, allocations: 1.422 kB / 473.1 MB, free: 97.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/1.066, allocations: 15.67 kB / 473.2 MB, free: 97.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/1.066, allocations: 42.22 kB / 473.2 MB, free: 97.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.066, allocations: 14.62 kB / 473.2 MB, free: 97.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001296/1.067, allocations: 121.7 kB / 473.3 MB, free: 97.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.067, allocations: 0 / 473.3 MB, free: 97.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008652/1.067, allocations: 97.83 kB / 473.4 MB, free: 97.73 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01418/1.082, allocations: 1.233 MB / 474.7 MB, free: 97.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02594/1.108, allocations: 0.7342 MB / 475.4 MB, free: 97.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.108, allocations: 2.062 kB / 475.4 MB, free: 97.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003595/1.111, allocations: 0.4944 MB / 475.9 MB, free: 96.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.112, allocations: 14.22 kB / 475.9 MB, free: 96.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/1.117, allocations: 0.5816 MB / 476.5 MB, free: 96.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.117, allocations: 0.7507 MB / 477.2 MB, free: 95.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.117, allocations: 39.19 kB / 477.3 MB, free: 95.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.163e-06/1.117, allocations: 0 / 477.3 MB, free: 95.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.046/4.163, allocations: 7.597 MB / 484.9 MB, free: 92 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.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat