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.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.129/2.129, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006016/0.0006017, allocations: 16.2 kB / 282.7 MB, free: 9.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1079, allocations: 48.7 MB / 331.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.514, allocations: 82.41 MB / 413.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/0.5144, allocations: 99.92 kB / 413.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06389/0.5783, allocations: 13.65 MB / 427.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5784, allocations: 0 / 427.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.5784, allocations: 4 kB / 427.5 MB, free: 4.664 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001601/0.58, allocations: 0.6626 MB / 428.2 MB, free: 3.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5801, allocations: 8.031 kB / 428.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.5803, allocations: 82.52 kB / 428.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.5804, allocations: 43.53 kB / 428.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.5809, allocations: 287.2 kB / 428.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.581, allocations: 25 kB / 428.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.5811, allocations: 36 kB / 428.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.5827, allocations: 0.5652 MB / 429.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5828, allocations: 0 / 429.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.5829, allocations: 16 kB / 429.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.5829, allocations: 17 kB / 429.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.5844, allocations: 443.6 kB / 429.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.5877, allocations: 1.308 MB / 431 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.5888, allocations: 311.5 kB / 431.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.5889, allocations: 11.98 kB / 431.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.589, allocations: 34.67 kB / 431.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.206e-06/0.589, allocations: 3.938 kB / 431.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002555/0.5915, allocations: 0.7555 MB / 432.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/0.5917, allocations: 110.8 kB / 432.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.5926, allocations: 449 kB / 432.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.5927, allocations: 25.7 kB / 432.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.5929, allocations: 246.9 kB / 432.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.593, allocations: 63.08 kB / 433 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.5931, allocations: 8 kB / 433 MB, free: 14.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5933, allocations: 326.6 kB / 433.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.5939, allocations: 148.1 kB / 433.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.5947, allocations: 238.5 kB / 433.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.5954, allocations: 175.8 kB / 433.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5954, allocations: 0 / 433.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001667/0.5971, allocations: 446 kB / 434.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.5972, allocations: 7.938 kB / 434.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.5973, allocations: 31.97 kB / 434.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.5973, allocations: 7.938 kB / 434.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.5977, allocations: 40.28 kB / 434.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.5978, allocations: 7.938 kB / 434.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.5983, allocations: 67.44 kB / 434.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.5984, allocations: 15.95 kB / 434.5 MB, free: 13.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003902/0.5988, allocations: 201.8 kB / 434.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.5989, allocations: 39.52 kB / 434.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.6004, allocations: 442.3 kB / 435.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.6005, allocations: 7.984 kB / 435.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.6005, allocations: 8 kB / 435.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6005, allocations: 4 kB / 435.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.6015, allocations: 373.3 kB / 435.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.442e-05/0.6016, allocations: 31.97 kB / 435.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.6019, allocations: 31.97 kB / 435.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.602, allocations: 0 / 435.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.602, allocations: 8 kB / 435.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.602, allocations: 7.984 kB / 435.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.602, allocations: 3.938 kB / 435.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.6037, allocations: 0.6461 MB / 436.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.604, allocations: 168.5 kB / 436.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.6041, allocations: 0 / 436.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.6046, allocations: 27.97 kB / 436.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6048, allocations: 23.92 kB / 436.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.6048, allocations: 12 kB / 436.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000712/0.6055, allocations: 363 kB / 436.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6056, allocations: 4 kB / 436.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009071/0.6065, allocations: 131.9 kB / 437 MB, free: 10.75 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00259/0.6091, allocations: 1.439 MB / 438.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.6111, allocations: 0.5893 MB / 439 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6112, allocations: 0 / 439 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.6123, allocations: 407.1 kB / 439.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.6135, allocations: 98.09 kB / 439.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.6247, allocations: 4.481 MB / 444 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/0.6256, allocations: 0.8499 MB / 444.8 MB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.6261, allocations: 107.4 kB / 444.9 MB, free: 2.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6261, allocations: 3.938 kB / 444.9 MB, free: 2.496 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.952/3.578, allocations: 9.619 MB / 454.6 MB, free: 8.914 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.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat