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.Plate.kc_laminar_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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004483, allocations: 16 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 48.7 MB / 331.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.6498, allocations: 77.47 MB / 408.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/0.6502, allocations: 95.92 kB / 409 MB, free: 7.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02314/0.6734, allocations: 4.881 MB / 413.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6734, allocations: 0 / 413.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.6735, allocations: 0 / 413.8 MB, free: 2.582 MB / 330.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.0007807/0.6742, allocations: 446.7 kB / 414.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6743, allocations: 8.031 kB / 414.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.944e-05/0.6744, allocations: 46.55 kB / 414.3 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.6753, allocations: 79.72 kB / 414.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.6757, allocations: 226.7 kB / 414.6 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.6757, allocations: 16 kB / 414.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.6757, allocations: 4 kB / 414.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.6765, allocations: 248 kB / 414.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6765, allocations: 0 / 414.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.6765, allocations: 7.984 kB / 414.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/0.6766, allocations: 15.98 kB / 414.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.6775, allocations: 267.7 kB / 415.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.6794, allocations: 0.6678 MB / 415.8 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.6802, allocations: 230.8 kB / 416.1 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.6803, allocations: 12 kB / 416.1 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6803, allocations: 30.56 kB / 416.1 MB, free: 128 kB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.066e-06/0.6803, allocations: 0 / 416.1 MB, free: 128 kB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.001219/0.6816, allocations: 305.5 kB / 416.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.6816, allocations: 51.41 kB / 416.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.682, allocations: 205.6 kB / 416.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.682, allocations: 25.7 kB / 416.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.6822, allocations: 178.5 kB / 416.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.6823, allocations: 43.3 kB / 416.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.6823, allocations: 4 kB / 416.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6825, allocations: 322.8 kB / 417.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.6828, allocations: 84.02 kB / 417.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.6832, allocations: 123.2 kB / 417.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.6836, allocations: 99.91 kB / 417.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6836, allocations: 0 / 417.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008888/0.6845, allocations: 261.3 kB / 417.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.6845, allocations: 7.984 kB / 417.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6846, allocations: 4 kB / 417.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6846, allocations: 0 / 417.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007334/0.6919, allocations: 467.5 kB / 418.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.7108, allocations: 9.095 MB / 427.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.7112, allocations: 27.86 kB / 427.4 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.7113, allocations: 20.23 kB / 427.4 MB, free: 3.988 MB / 346.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 () * Number of clocked 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.000205/0.7115, allocations: 137.8 kB / 427.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.7116, allocations: 15.81 kB / 427.5 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009109/0.7125, allocations: 250.8 kB / 427.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7125, allocations: 7.953 kB / 427.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.7125, allocations: 0 / 427.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7126, allocations: 0 / 427.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.7129, allocations: 249.4 kB / 428 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.713, allocations: 0 / 428 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005387/0.7184, allocations: 411.5 kB / 428.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.7184, allocations: 4 kB / 428.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.7184, allocations: 8 kB / 428.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/0.7321, allocations: 8.605 MB / 437 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7322, allocations: 4.312 kB / 437 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.733, allocations: 303.8 kB / 437.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.7331, allocations: 96.86 kB / 437.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.7332, allocations: 7.984 kB / 437.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.7335, allocations: 12 kB / 437.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.7337, allocations: 23.95 kB / 437.5 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.7337, allocations: 8 kB / 437.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.734, allocations: 187.1 kB / 437.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.734, allocations: 0 / 437.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006476/0.7347, allocations: 64 kB / 437.7 MB, free: 8.746 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 (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): 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 Backend phase and start with SimCode phase: time 0.0012/0.7359, allocations: 0.849 MB / 438.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007404/0.7433, allocations: 0.5542 MB / 439.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.7434, allocations: 0 / 439.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005286/0.7487, allocations: 435.4 kB / 439.6 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.7492, allocations: 35.97 kB / 439.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.7549, allocations: 1.941 MB / 441.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7553, allocations: 0.7437 MB / 442.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.7555, allocations: 47.42 kB / 442.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7555, allocations: 0 / 442.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.175/3.93, allocations: 7.143 MB / 449.5 MB, free: 12.88 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat