Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Utilities.Examples.readRealParameterModel.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) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.646/1.646, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 8 kB / 233.3 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.07963, allocations: 38.76 MB / 272.1 MB, free: 9.992 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/0.4114, allocations: 67.58 MB / 339.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4118, allocations: 71.97 kB / 339.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02797/0.4398, allocations: 6.098 MB / 345.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4398, allocations: 0 / 345.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4398, allocations: 0 / 345.8 MB, free: 9.172 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008065/0.4407, allocations: 431.1 kB / 346.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.4407, allocations: 12.02 kB / 346.3 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.468e-05/0.4408, allocations: 105.8 kB / 346.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.96e-05/0.4409, allocations: 75.28 kB / 346.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.4412, allocations: 238.4 kB / 346.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.4413, allocations: 156 kB / 346.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.4414, allocations: 154.5 kB / 347 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.4415, allocations: 113 kB / 347.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.4415, allocations: 75.28 kB / 347.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.4416, allocations: 154.6 kB / 347.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.567e-05/0.4417, allocations: 150.6 kB / 347.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.4418, allocations: 154.5 kB / 347.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4423, allocations: 449.9 kB / 348.1 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4424, allocations: 169.1 kB / 348.2 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.4425, allocations: 83.2 kB / 348.3 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.4425, allocations: 109.8 kB / 348.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 2.344e-06/0.4426, allocations: 4 kB / 348.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.4427, allocations: 33.55 kB / 348.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.4428, allocations: 126.7 kB / 348.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4429, allocations: 97 kB / 348.7 MB, free: 6.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.443, allocations: 25.7 kB / 348.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.443, allocations: 150.6 kB / 348.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.4431, allocations: 0 / 348.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-07/0.4431, allocations: 0 / 348.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4433, allocations: 322.8 kB / 349.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.4433, allocations: 0 / 349.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.4433, allocations: 4 kB / 349.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.4434, allocations: 75.28 kB / 349.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.595e-05/0.4434, allocations: 79.28 kB / 349.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.438e-05/0.4435, allocations: 25.7 kB / 349.3 MB, free: 5.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.4436, allocations: 87.22 kB / 349.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.452e-05/0.4436, allocations: 75.28 kB / 349.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.135e-05/0.4437, allocations: 158.5 kB / 349.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.4438, allocations: 79.22 kB / 349.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-05/0.4439, allocations: 158.5 kB / 349.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.444, allocations: 79.22 kB / 350 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.4441, allocations: 79.27 kB / 350 MB, free: 4.738 MB / 282.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 (0): * Single equations (assignments): 0 * 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.0001686/0.4443, allocations: 264.4 kB / 350.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.4444, allocations: 105 kB / 350.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.4445, allocations: 108 kB / 350.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.891e-05/0.4446, allocations: 184.2 kB / 350.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.45e-05/0.4447, allocations: 184.2 kB / 350.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.776e-05/0.4448, allocations: 184.2 kB / 351 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.4452, allocations: 401.2 kB / 351.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.39e-05/0.4453, allocations: 108.9 kB / 351.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.4454, allocations: 105 kB / 351.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.499e-05/0.4455, allocations: 188.2 kB / 351.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/0.4456, allocations: 176.3 kB / 352 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.142e-05/0.4457, allocations: 184.2 kB / 352.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001009/0.4458, allocations: 188.2 kB / 352.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.446, allocations: 308.2 kB / 352.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.4462, allocations: 182.1 kB / 352.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4463, allocations: 180.3 kB / 353 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4465, allocations: 109.4 kB / 353.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.4466, allocations: 180.3 kB / 353.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.4466, allocations: 112.9 kB / 353.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.4467, allocations: 79.28 kB / 353.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4468, allocations: 0 / 353.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001136/0.4479, allocations: 151.8 kB / 353.6 MB, free: 0.9062 MB / 282.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 (0): * Single equations (assignments): 0 * 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.00224/0.4502, allocations: 1.192 MB / 354.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.021e-05/0.4502, allocations: 3.938 kB / 354.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4503, allocations: 0 / 354.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.4503, allocations: 4 kB / 354.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.4508, allocations: 0.5263 MB / 355.4 MB, free: 15.2 MB / 298.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.4551, allocations: 1.365 MB / 356.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.4555, allocations: 0.6771 MB / 357.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.4556, allocations: 11.44 kB / 357.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4556, allocations: 0 / 357.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.684/3.14, allocations: 3.302 MB / 360.7 MB, free: 9.762 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat