Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.348e-05, allocations: 0 / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/0.5241, allocations: 70.9 MB / 370.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5244, allocations: 66.86 kB / 370.9 MB, free: 20.82 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.01663/0.5411, allocations: 3.393 MB / 374.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5411, allocations: 4 kB / 374.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.5411, allocations: 1 kB / 374.3 MB, free: 20.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003768/0.5415, allocations: 359.9 kB / 374.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.5416, allocations: 8.688 kB / 374.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.5416, allocations: 31.94 kB / 374.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.5417, allocations: 8.125 kB / 374.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.5423, allocations: 234.5 kB / 374.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.5423, allocations: 4.984 kB / 374.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5424, allocations: 1.406 kB / 374.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5425, allocations: 74.7 kB / 375 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5425, allocations: 1.469 kB / 375 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.5426, allocations: 0 / 375 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5426, allocations: 3.938 kB / 375 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.5426, allocations: 10.47 kB / 375 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.543, allocations: 190.8 kB / 375.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.5431, allocations: 27.05 kB / 375.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.5431, allocations: 7.609 kB / 375.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.5431, allocations: 0 / 375.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5432, allocations: 32.5 kB / 375.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.5432, allocations: 1.375 kB / 375.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.5433, allocations: 49.38 kB / 375.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5434, allocations: 130.1 kB / 375.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.5437, allocations: 155 kB / 375.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.5437, allocations: 27.25 kB / 375.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.5437, allocations: 156.3 kB / 375.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.5438, allocations: 7.906 kB / 375.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5438, allocations: 1.438 kB / 375.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.5439, allocations: 315.4 kB / 376.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.5439, allocations: 8.156 kB / 376.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.544, allocations: 51.38 kB / 376.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.544, allocations: 9.469 kB / 376.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.544, allocations: 0 / 376.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.662e-05/0.5441, allocations: 43 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.5442, allocations: 10.03 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5442, allocations: 0.75 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5442, allocations: 1.156 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.5443, allocations: 3.109 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5443, allocations: 0.9688 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.5445, allocations: 9.172 kB / 376.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.5445, allocations: 0 / 376.2 MB, free: 18.53 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.992e-05/0.5446, allocations: 109.1 kB / 376.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.5446, allocations: 7.859 kB / 376.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.5446, allocations: 15.25 kB / 376.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5446, allocations: 1.125 kB / 376.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5447, allocations: 0.7188 kB / 376.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5447, allocations: 4 kB / 376.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.5449, allocations: 182.7 kB / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5449, allocations: 0 / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.545, allocations: 1.672 kB / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.545, allocations: 1.875 kB / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.545, allocations: 0 / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.545, allocations: 1.031 kB / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.545, allocations: 0 / 376.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.5452, allocations: 79.8 kB / 376.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.5453, allocations: 97.86 kB / 376.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.5454, allocations: 1.156 kB / 376.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.5455, allocations: 4.531 kB / 376.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.5456, allocations: 1.547 kB / 376.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.5456, allocations: 0 / 376.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.5458, allocations: 136.5 kB / 376.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5458, allocations: 1.312 kB / 376.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.5461, allocations: 24.8 kB / 376.9 MB, free: 17.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0006901/0.5468, allocations: 0.6861 MB / 377.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.547, allocations: 13.14 kB / 377.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.547, allocations: 4.906 kB / 377.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.547, allocations: 8.078 kB / 377.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.5472, allocations: 10.66 kB / 377.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.5477, allocations: 178.6 kB / 377.8 MB, free: 17.16 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:744:5-744:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]