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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.63/2.63, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.7e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3497, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5022, allocations: 81.76 MB / 439.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5025, allocations: 63.97 kB / 439.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.5192, allocations: 2.732 MB / 442.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5193, allocations: 3.938 kB / 442.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5193, allocations: 8 kB / 442.7 MB, free: 10.25 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.0007276/0.52, allocations: 420.5 kB / 443.1 MB, free: 9.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5201, allocations: 8.031 kB / 443.1 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.5202, allocations: 19.77 kB / 443.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.5204, allocations: 203.1 kB / 443.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5205, allocations: 4 kB / 443.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.5205, allocations: 8 kB / 443.3 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002589/0.5208, allocations: 72.55 kB / 443.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.5211, allocations: 99.64 kB / 443.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5211, allocations: 0 / 443.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.5211, allocations: 0 / 443.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.5211, allocations: 7.953 kB / 443.5 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.5222, allocations: 0.527 MB / 444 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.5225, allocations: 50.66 kB / 444.1 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.5225, allocations: 16.97 kB / 444.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5226, allocations: 4 kB / 444.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5226, allocations: 34.5 kB / 444.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.5226, allocations: 4 kB / 444.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002166/0.5229, allocations: 61.56 kB / 444.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.5229, allocations: 51.41 kB / 444.3 MB, free: 8.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.5231, allocations: 123.5 kB / 444.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5231, allocations: 25.7 kB / 444.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5232, allocations: 205.9 kB / 444.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.5232, allocations: 19.66 kB / 444.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.5233, allocations: 4 kB / 444.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5234, allocations: 318.8 kB / 444.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.5235, allocations: 16 kB / 445 MB, free: 7.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.5236, allocations: 44.3 kB / 445 MB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.749e-05/0.5237, allocations: 31.86 kB / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5237, allocations: 0 / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002085/0.5239, allocations: 81.62 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5239, allocations: 4 kB / 445.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5239, allocations: 7.938 kB / 445.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.524, allocations: 4 kB / 445.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.5242, allocations: 31.92 kB / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5242, allocations: 7.984 kB / 445.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.5244, allocations: 16.03 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.5244, allocations: 4 kB / 445.2 MB, free: 7.527 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 7.935e-05/0.5245, allocations: 101 kB / 445.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001447/0.5247, allocations: 61.67 kB / 445.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.5247, allocations: 11.86 kB / 445.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.5248, allocations: 16.34 kB / 445.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.5248, allocations: 3.984 kB / 445.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5248, allocations: 0 / 445.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5248, allocations: 0 / 445.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.5251, allocations: 182.1 kB / 445.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5251, allocations: 3.984 kB / 445.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.5253, allocations: 12 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5253, allocations: 3.984 kB / 445.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5253, allocations: 7.953 kB / 445.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.5253, allocations: 8.109 kB / 445.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5253, allocations: 0 / 445.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.5255, allocations: 159.5 kB / 445.7 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.5256, allocations: 88.95 kB / 445.8 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5256, allocations: 0 / 445.8 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.5258, allocations: 11.94 kB / 445.8 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.5259, allocations: 4 kB / 445.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.5259, allocations: 0 / 445.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.526, allocations: 109.1 kB / 445.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.526, allocations: 0 / 445.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.5264, allocations: 23.91 kB / 446 MB, free: 6.652 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.0004906/0.5269, allocations: 0.6889 MB / 446.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.5271, allocations: 43.94 kB / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5271, allocations: 256 / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.5271, allocations: 16 kB / 446.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5274, allocations: 17.34 kB / 446.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.5281, allocations: 196.1 kB / 446.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.5285, allocations: 0.7195 MB / 447.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.5286, allocations: 35.44 kB / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5286, allocations: 0 / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/3.107, allocations: 1.825 MB / 449.5 MB, free: 3.023 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