Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.932e-05, allocations: 4 kB / 255.5 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 44.51 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5306, allocations: 70.91 MB / 370.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.531, allocations: 64.38 kB / 370.9 MB, free: 21.66 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.01613/0.5471, allocations: 3.396 MB / 374.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5472, allocations: 0 / 374.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.5472, allocations: 0 / 374.3 MB, free: 21.23 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.0003294/0.5475, allocations: 368.1 kB / 374.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5476, allocations: 8.688 kB / 374.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.5476, allocations: 30.56 kB / 374.7 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.5477, allocations: 8.281 kB / 374.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.5483, allocations: 237.2 kB / 375 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5483, allocations: 0 / 375 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.5483, allocations: 0.9375 kB / 375 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.5485, allocations: 80.09 kB / 375.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.5485, allocations: 0 / 375.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.5485, allocations: 5.031 kB / 375.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5486, allocations: 7.875 kB / 375.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.5486, allocations: 6.109 kB / 375.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.549, allocations: 191 kB / 375.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.5491, allocations: 21.58 kB / 375.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.5491, allocations: 10.61 kB / 375.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.5491, allocations: 1.031 kB / 375.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.5491, allocations: 33.33 kB / 375.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.734e-06/0.5492, allocations: 0 / 375.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.5493, allocations: 37.5 kB / 375.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5494, allocations: 134.2 kB / 375.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5496, allocations: 159.2 kB / 375.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5496, allocations: 26.89 kB / 375.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.5497, allocations: 92.31 kB / 375.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5497, allocations: 4.969 kB / 375.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.5498, allocations: 0 / 375.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.5498, allocations: 325.8 kB / 376.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.5499, allocations: 2.125 kB / 376.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.5499, allocations: 54.11 kB / 376.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.55, allocations: 10.2 kB / 376.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.55, allocations: 1.031 kB / 376.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.5501, allocations: 47.31 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5501, allocations: 5.344 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5502, allocations: 0 / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5502, allocations: 3 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.5503, allocations: 6.125 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5503, allocations: 1.094 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.5504, allocations: 8.219 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.5504, allocations: 1.031 kB / 376.2 MB, free: 19.43 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 7.958e-05/0.5505, allocations: 114.3 kB / 376.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.5506, allocations: 6.969 kB / 376.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.5506, allocations: 11.73 kB / 376.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5506, allocations: 0.9375 kB / 376.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5506, allocations: 4.062 kB / 376.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5507, allocations: 5.031 kB / 376.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.5509, allocations: 178.5 kB / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5509, allocations: 0 / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.551, allocations: 2.281 kB / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.551, allocations: 0 / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.551, allocations: 3.25 kB / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.551, allocations: 0 / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.551, allocations: 0 / 376.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.5512, allocations: 78.88 kB / 376.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.5513, allocations: 98.48 kB / 376.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5514, allocations: 0 / 376.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.5515, allocations: 8.547 kB / 376.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.5515, allocations: 1.062 kB / 376.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.5515, allocations: 1.062 kB / 376.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.5517, allocations: 136.5 kB / 376.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5517, allocations: 0 / 376.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.552, allocations: 24.03 kB / 376.9 MB, free: 18.84 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.0006638/0.5527, allocations: 0.6922 MB / 377.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.5529, allocations: 10.59 kB / 377.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5529, allocations: 1.062 kB / 377.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.5529, allocations: 7.375 kB / 377.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.5531, allocations: 10.97 kB / 377.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.5536, allocations: 158.2 kB / 377.8 MB, free: 18.08 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]