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_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00061/0.0006101, allocations: 15.94 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.36, allocations: 48.7 MB / 331.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.5113, allocations: 80.65 MB / 412 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.5118, allocations: 91.94 kB / 412.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04577/0.5575, allocations: 9.678 MB / 421.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5576, allocations: 0 / 421.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.5576, allocations: 4 kB / 421.8 MB, free: 3.926 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001214/0.5589, allocations: 0.5334 MB / 422.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5589, allocations: 8.031 kB / 422.4 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.806e-05/0.559, allocations: 54.53 kB / 422.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.5591, allocations: 23.72 kB / 422.4 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.5595, allocations: 223.8 kB / 422.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.5595, allocations: 12 kB / 422.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.5596, allocations: 15.98 kB / 422.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.5605, allocations: 288.6 kB / 423 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5605, allocations: 3.984 kB / 423 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.5605, allocations: 12 kB / 423 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.5606, allocations: 19.67 kB / 423 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5616, allocations: 247.5 kB / 423.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.5633, allocations: 0.7734 MB / 424 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.5643, allocations: 247.7 kB / 424.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.5644, allocations: 0 / 424.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.5644, allocations: 46.5 kB / 424.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.5644, allocations: 3.938 kB / 424.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001829/0.5663, allocations: 0.5827 MB / 424.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.5664, allocations: 106.9 kB / 425 MB, free: 464 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.5668, allocations: 253.7 kB / 425.2 MB, free: 208 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.5669, allocations: 25.7 kB / 425.3 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.567, allocations: 190.5 kB / 425.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.5671, allocations: 43.36 kB / 425.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5671, allocations: 0 / 425.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5673, allocations: 322.8 kB / 425.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.5678, allocations: 99.86 kB / 425.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.5683, allocations: 133.1 kB / 426 MB, free: 15.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.5688, allocations: 115.8 kB / 426.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5688, allocations: 0 / 426.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001149/0.57, allocations: 273.5 kB / 426.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.57, allocations: 15.28 kB / 426.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/0.5701, allocations: 8 kB / 426.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.5701, allocations: 7.953 kB / 426.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.5705, allocations: 43.89 kB / 426.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5705, allocations: 0 / 426.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.5709, allocations: 39.83 kB / 426.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.571, allocations: 11.98 kB / 426.5 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002313/0.5712, allocations: 145.8 kB / 426.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5713, allocations: 19.72 kB / 426.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.5722, allocations: 239.3 kB / 426.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5722, allocations: 4.047 kB / 426.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5723, allocations: 3.938 kB / 426.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5723, allocations: 7.984 kB / 426.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.5729, allocations: 273.3 kB / 427.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/0.573, allocations: 8 kB / 427.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.5733, allocations: 39.91 kB / 427.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.5734, allocations: 7.984 kB / 427.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5734, allocations: 4 kB / 427.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5734, allocations: 0 / 427.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5734, allocations: 7.891 kB / 427.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.5746, allocations: 0.5128 MB / 427.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.5748, allocations: 120.8 kB / 427.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.5749, allocations: 3.953 kB / 427.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.5753, allocations: 27.97 kB / 427.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.5754, allocations: 15.98 kB / 428 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.5755, allocations: 4 kB / 428 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003172/0.5758, allocations: 205.9 kB / 428.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5758, allocations: 0 / 428.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006844/0.5765, allocations: 79.94 kB / 428.2 MB, free: 13.04 MB / 362.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001979/0.5785, allocations: 1.269 MB / 429.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.5797, allocations: 313 kB / 429.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5797, allocations: 0 / 429.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.5803, allocations: 189.1 kB / 430 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.5809, allocations: 48.84 kB / 430 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.5857, allocations: 2.374 MB / 432.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.5862, allocations: 0.7674 MB / 433.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.5864, allocations: 63.41 kB / 433.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5864, allocations: 0 / 433.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.333, allocations: 4.937 MB / 438.2 MB, free: 2.906 MB / 362.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_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat