Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.225e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4572, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.6113, allocations: 82.43 MB / 447.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.6116, allocations: 67.97 kB / 447.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.6238, allocations: 2.747 MB / 449.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6238, allocations: 0 / 449.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.6238, allocations: 4 kB / 449.9 MB, free: 11.27 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007726/0.6246, allocations: 418.3 kB / 450.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6247, allocations: 8.031 kB / 450.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.469e-05/0.6248, allocations: 50.55 kB / 450.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.6248, allocations: 15.8 kB / 450.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.6251, allocations: 203.7 kB / 450.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6252, allocations: 12.84 kB / 450.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.6252, allocations: 15.94 kB / 450.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.6256, allocations: 119.9 kB / 450.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6256, allocations: 0 / 450.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.6256, allocations: 4 kB / 450.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.6257, allocations: 12.98 kB / 450.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.6259, allocations: 80.83 kB / 450.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.6272, allocations: 0.5659 MB / 451.4 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.6275, allocations: 58.64 kB / 451.4 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.6276, allocations: 20.94 kB / 451.4 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6276, allocations: 0 / 451.4 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.6277, allocations: 34.5 kB / 451.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.6277, allocations: 0 / 451.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002429/0.6279, allocations: 61.59 kB / 451.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.628, allocations: 63.41 kB / 451.6 MB, free: 9.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.6282, allocations: 140.2 kB / 451.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.6282, allocations: 27.11 kB / 451.8 MB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.6284, allocations: 201.9 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.6284, allocations: 19.8 kB / 452 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.6284, allocations: 0 / 452 MB, free: 8.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6286, allocations: 314.8 kB / 452.3 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.6286, allocations: 16 kB / 452.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.6288, allocations: 52.89 kB / 452.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.679e-05/0.6289, allocations: 27.97 kB / 452.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6289, allocations: 4 kB / 452.4 MB, free: 8.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002494/0.6291, allocations: 89.66 kB / 452.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.6292, allocations: 15.89 kB / 452.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.6292, allocations: 3.984 kB / 452.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6292, allocations: 4 kB / 452.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.6295, allocations: 23.98 kB / 452.5 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.6295, allocations: 4 kB / 452.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.6297, allocations: 23.77 kB / 452.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.6297, allocations: 4.094 kB / 452.5 MB, free: 8.352 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.205e-05/0.6298, allocations: 112.9 kB / 452.7 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.6299, allocations: 7.906 kB / 452.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.63, allocations: 16.05 kB / 452.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.63, allocations: 0 / 452.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.63, allocations: 0 / 452.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.63, allocations: 0 / 452.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.6303, allocations: 209.5 kB / 452.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6304, allocations: 4 kB / 452.9 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.6305, allocations: 19.98 kB / 452.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6305, allocations: 0 / 452.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6306, allocations: 0 / 452.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6306, allocations: 3.953 kB / 452.9 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6306, allocations: 12 kB / 452.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.6308, allocations: 155.5 kB / 453.1 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.6309, allocations: 89.02 kB / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.6309, allocations: 3.938 kB / 453.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.6311, allocations: 15.98 kB / 453.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.6312, allocations: 7.938 kB / 453.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6312, allocations: 3.984 kB / 453.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.6313, allocations: 110.1 kB / 453.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6313, allocations: 4 kB / 453.3 MB, free: 7.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.6317, allocations: 23.91 kB / 453.3 MB, free: 7.473 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005531/0.6323, allocations: 0.7014 MB / 454 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.6325, allocations: 43.94 kB / 454.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6325, allocations: 0 / 454.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.6326, allocations: 19.94 kB / 454.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.6328, allocations: 16.81 kB / 454.1 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.6335, allocations: 203.3 kB / 454.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6339, allocations: 0.708 MB / 455 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.634, allocations: 35.42 kB / 455 MB, free: 5.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.634, allocations: 0 / 455 MB, free: 5.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.335/2.969, allocations: 1.853 MB / 456.9 MB, free: 3.809 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat