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.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 209.2 MB / 224.8 MB, free: 0.7695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006423, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 48.71 MB / 331.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5404, allocations: 85.48 MB / 416.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/0.5409, allocations: 99.88 kB / 417 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07132/0.6122, allocations: 14.28 MB / 431.3 MB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6123, allocations: 0 / 431.3 MB, free: 1.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.6123, allocations: 8 kB / 431.3 MB, free: 1.047 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001479/0.6138, allocations: 0.6121 MB / 431.9 MB, free: 396 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.6139, allocations: 8.031 kB / 431.9 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.6141, allocations: 86.52 kB / 432 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.6142, allocations: 39.53 kB / 432 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.6147, allocations: 290.2 kB / 432.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.6148, allocations: 32.98 kB / 432.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.6149, allocations: 36 kB / 432.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.6163, allocations: 0.5334 MB / 432.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6164, allocations: 0 / 432.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.6164, allocations: 16 kB / 432.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.307e-05/0.6165, allocations: 32.97 kB / 432.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6181, allocations: 0.5853 MB / 433.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.6212, allocations: 1.203 MB / 434.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.6225, allocations: 380 kB / 435.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.086e-05/0.6226, allocations: 8.172 kB / 435.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6226, allocations: 30.75 kB / 435.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 4.328e-06/0.6226, allocations: 0 / 435.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.00174/0.6244, allocations: 477.8 kB / 435.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6244, allocations: 55.5 kB / 435.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.6252, allocations: 412.7 kB / 436.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.6253, allocations: 33.64 kB / 436.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.6255, allocations: 226.8 kB / 436.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6256, allocations: 78.91 kB / 436.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.6256, allocations: 4 kB / 436.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6258, allocations: 318.8 kB / 436.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.6262, allocations: 119.9 kB / 436.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.6267, allocations: 123.9 kB / 436.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.6272, allocations: 139.4 kB / 437.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6272, allocations: 0 / 437.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001125/0.6283, allocations: 317.3 kB / 437.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6284, allocations: 4 kB / 437.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6284, allocations: 11.98 kB / 437.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.6284, allocations: 0 / 437.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.6299, allocations: 147.8 kB / 437.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.634, allocations: 5.516 MB / 443.1 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.6345, allocations: 55.39 kB / 443.1 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.6346, allocations: 8 kB / 443.1 MB, free: 4.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.635, allocations: 193.6 kB / 443.3 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.6351, allocations: 35.53 kB / 443.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.6366, allocations: 464.5 kB / 443.8 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6367, allocations: 0 / 443.8 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6367, allocations: 4 kB / 443.8 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6367, allocations: 0 / 443.8 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/0.6374, allocations: 381.2 kB / 444.2 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6375, allocations: 0 / 444.2 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.6389, allocations: 143.9 kB / 444.3 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.6389, allocations: 4 kB / 444.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.6389, allocations: 19.92 kB / 444.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.6429, allocations: 5.52 MB / 449.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.643, allocations: 0 / 449.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.6443, allocations: 458.1 kB / 450.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.6444, allocations: 116.7 kB / 450.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.6445, allocations: 7.984 kB / 450.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.6449, allocations: 11.98 kB / 450.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.645, allocations: 19.97 kB / 450.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.6451, allocations: 11.98 kB / 450.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000578/0.6457, allocations: 335.1 kB / 450.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6457, allocations: 0 / 450.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008456/0.6465, allocations: 155.8 kB / 451 MB, free: 12.61 MB / 378.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002172/0.6487, allocations: 1.14 MB / 452.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.6509, allocations: 378.3 kB / 452.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6509, allocations: 0 / 452.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.6524, allocations: 247.7 kB / 452.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.6532, allocations: 93.36 kB / 452.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/0.6596, allocations: 2.645 MB / 455.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.6603, allocations: 0.8503 MB / 456.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.6606, allocations: 115.4 kB / 456.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6606, allocations: 0 / 456.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.393/4.054, allocations: 21.38 MB / 477.8 MB, free: 1.672 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat