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_evenGapTurbulent_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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.577/2.577, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.404e-05, allocations: 4 kB / 309.8 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5075, allocations: 54.86 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.6812, allocations: 84.87 MB / 449.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.6816, allocations: 100.9 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03041/0.712, allocations: 6.675 MB / 456.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7121, allocations: 7.938 kB / 456.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.7121, allocations: 0 / 456.3 MB, free: 4.809 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00075/0.7129, allocations: 422.4 kB / 456.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7129, allocations: 11.97 kB / 456.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.871e-05/0.713, allocations: 42.56 kB / 456.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.7131, allocations: 19.86 kB / 456.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.7134, allocations: 206.8 kB / 457 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.7134, allocations: 8.75 kB / 457 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.7135, allocations: 12 kB / 457 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.7139, allocations: 161.5 kB / 457.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7139, allocations: 0 / 457.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.714, allocations: 7.984 kB / 457.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.714, allocations: 12.45 kB / 457.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.7144, allocations: 144.3 kB / 457.3 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.7157, allocations: 0.4922 MB / 457.8 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.7163, allocations: 140 kB / 458 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.7164, allocations: 48.95 kB / 458 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.7165, allocations: 4 kB / 458 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7165, allocations: 30.56 kB / 458 MB, free: 2.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.976e-06/0.7165, allocations: 0 / 458 MB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004471/0.717, allocations: 133.3 kB / 458.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.7171, allocations: 56.44 kB / 458.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.7173, allocations: 174.7 kB / 458.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.7174, allocations: 29.7 kB / 458.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.7175, allocations: 166.5 kB / 458.6 MB, free: 2.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.7176, allocations: 35.55 kB / 458.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.7176, allocations: 4 kB / 458.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7177, allocations: 310.8 kB / 458.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.7179, allocations: 39.97 kB / 459 MB, free: 1.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.718, allocations: 58.55 kB / 459 MB, free: 1.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.7182, allocations: 48.83 kB / 459.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7182, allocations: 4 kB / 459.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003911/0.7186, allocations: 129.6 kB / 459.2 MB, free: 1.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7186, allocations: 4 kB / 459.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7187, allocations: 0 / 459.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.7187, allocations: 7.938 kB / 459.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.7192, allocations: 51.95 kB / 459.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/0.7202, allocations: 1.219 MB / 460.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.7205, allocations: 19.88 kB / 460.5 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.7205, allocations: 7.984 kB / 460.5 MB, free: 328 kB / 378.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 () * 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.0001375/0.7207, allocations: 117.1 kB / 460.6 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.7207, allocations: 19.81 kB / 460.6 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.7212, allocations: 155.1 kB / 460.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7213, allocations: 0 / 460.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7213, allocations: 0 / 460.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7213, allocations: 0 / 460.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.7217, allocations: 225.6 kB / 461 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.7217, allocations: 0 / 461 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.7222, allocations: 43.97 kB / 461.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.7222, allocations: 0 / 461.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.7222, allocations: 11.98 kB / 461.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009122/0.7232, allocations: 1.215 MB / 462.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7232, allocations: 0 / 462.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.7236, allocations: 231.5 kB / 462.5 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.7237, allocations: 96.84 kB / 462.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.7238, allocations: 0 / 462.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.7241, allocations: 19.94 kB / 462.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.7242, allocations: 4 kB / 462.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.7242, allocations: 7.984 kB / 462.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.7244, allocations: 149.2 kB / 462.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7244, allocations: 4 kB / 462.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004353/0.7249, allocations: 40 kB / 462.8 MB, free: 13.86 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 (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.0009266/0.7258, allocations: 0.813 MB / 463.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.7264, allocations: 115.8 kB / 463.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7264, allocations: 4.125 kB / 463.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.7268, allocations: 67.94 kB / 463.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.7272, allocations: 28.11 kB / 463.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.7282, allocations: 297.4 kB / 464.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7285, allocations: 0.7357 MB / 464.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.7287, allocations: 35.42 kB / 464.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7287, allocations: 0 / 464.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.914/3.642, allocations: 4.15 MB / 469.1 MB, free: 7.539 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_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat