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.3/2.3, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005845/0.0005846, allocations: 8 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.356, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5066, allocations: 82.51 MB / 451.9 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5069, allocations: 71.97 kB / 451.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.5183, allocations: 2.775 MB / 454.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5184, allocations: 0 / 454.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.5184, allocations: 4 kB / 454.7 MB, free: 5.117 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.0007708/0.5192, allocations: 427.2 kB / 455.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5192, allocations: 12.03 kB / 455.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/0.5193, allocations: 46.55 kB / 455.2 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.5194, allocations: 19.77 kB / 455.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.5197, allocations: 207 kB / 455.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.5197, allocations: 12.28 kB / 455.4 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.5197, allocations: 16 kB / 455.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.5202, allocations: 142 kB / 455.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5202, allocations: 4 kB / 455.6 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.5203, allocations: 4 kB / 455.6 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5203, allocations: 4 kB / 455.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.5208, allocations: 116.7 kB / 455.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.5219, allocations: 0.5491 MB / 456.3 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.5223, allocations: 82.55 kB / 456.3 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.5224, allocations: 4 kB / 456.3 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.5224, allocations: 34.52 kB / 456.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.977e-06/0.5224, allocations: 3.984 kB / 456.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006201/0.523, allocations: 125.7 kB / 456.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5231, allocations: 55.34 kB / 456.6 MB, free: 3.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.5233, allocations: 136.2 kB / 456.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5233, allocations: 29.64 kB / 456.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5234, allocations: 205.9 kB / 456.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.5234, allocations: 23.66 kB / 456.9 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5235, allocations: 0 / 456.9 MB, free: 2.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5236, allocations: 310.8 kB / 457.2 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5238, allocations: 35.97 kB / 457.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.524, allocations: 68.27 kB / 457.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.5242, allocations: 35.98 kB / 457.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5242, allocations: 0 / 457.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000481/0.5247, allocations: 133.5 kB / 457.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5248, allocations: 8 kB / 457.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5248, allocations: 3.953 kB / 457.5 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5248, allocations: 4.125 kB / 457.5 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.5251, allocations: 27.98 kB / 457.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5251, allocations: 7.938 kB / 457.6 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5253, allocations: 23.83 kB / 457.6 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.5253, allocations: 7.938 kB / 457.6 MB, free: 1.992 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 () * Number of clocked 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 0.000128/0.5254, allocations: 117.8 kB / 457.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.5255, allocations: 7.906 kB / 457.7 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.5256, allocations: 20.3 kB / 457.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5256, allocations: 3.953 kB / 457.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5256, allocations: 0 / 457.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5256, allocations: 0 / 457.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.5259, allocations: 201.6 kB / 457.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5259, allocations: 7.984 kB / 457.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.5261, allocations: 20.23 kB / 458 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5261, allocations: 0 / 458 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5261, allocations: 4 kB / 458 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5261, allocations: 4 kB / 458 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5262, allocations: 11.89 kB / 458 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.5266, allocations: 191.4 kB / 458.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.5267, allocations: 85.02 kB / 458.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.5267, allocations: 8 kB / 458.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5269, allocations: 7.984 kB / 458.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.5269, allocations: 7.953 kB / 458.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.527, allocations: 0 / 458.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.5271, allocations: 114.6 kB / 458.4 MB, free: 1.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5271, allocations: 0 / 458.4 MB, free: 1.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.5274, allocations: 31.84 kB / 458.4 MB, free: 1.078 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 (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.0007429/0.5282, allocations: 0.7319 MB / 459.2 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.5286, allocations: 83.95 kB / 459.2 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5286, allocations: 0 / 459.2 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.5288, allocations: 32.23 kB / 459.3 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5291, allocations: 8 kB / 459.3 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.5312, allocations: 1.406 MB / 460.7 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5315, allocations: 0.708 MB / 461.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.5316, allocations: 35.42 kB / 461.4 MB, free: 13.94 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5316, allocations: 0 / 461.4 MB, free: 13.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.539/3.071, allocations: 1.856 MB / 463.3 MB, free: 12.09 MB / 394.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