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.135/2.135, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.935e-05, allocations: 0 / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 44.52 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5294, allocations: 70.9 MB / 370.9 MB, free: 21.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5297, allocations: 64.03 kB / 370.9 MB, free: 21.48 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.01556/0.5453, allocations: 3.397 MB / 374.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5454, allocations: 0 / 374.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.5454, allocations: 1.125 kB / 374.3 MB, free: 21.05 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.0003221/0.5457, allocations: 360.3 kB / 374.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5458, allocations: 8.656 kB / 374.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.5458, allocations: 36.42 kB / 374.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.5459, allocations: 7.281 kB / 374.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.5464, allocations: 235.2 kB / 374.9 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5465, allocations: 5.094 kB / 375 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.5465, allocations: 0.7031 kB / 375 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5466, allocations: 78.36 kB / 375 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5467, allocations: 3.938 kB / 375 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.5467, allocations: 5.766 kB / 375 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5467, allocations: 0 / 375 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.5467, allocations: 7.844 kB / 375 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.5471, allocations: 189.3 kB / 375.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.358e-05/0.5472, allocations: 17.64 kB / 375.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.5472, allocations: 7.047 kB / 375.3 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.5472, allocations: 1.125 kB / 375.3 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5473, allocations: 36.17 kB / 375.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.534e-06/0.5473, allocations: 4 kB / 375.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.5474, allocations: 41.56 kB / 375.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5475, allocations: 130.3 kB / 375.5 MB, free: 19.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.5477, allocations: 157 kB / 375.6 MB, free: 19.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.5477, allocations: 26.64 kB / 375.6 MB, free: 19.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.5478, allocations: 93.09 kB / 375.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.5478, allocations: 9.672 kB / 375.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.5479, allocations: 0 / 375.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.5479, allocations: 324.7 kB / 376.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.5479, allocations: 6.344 kB / 376.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.548, allocations: 43.52 kB / 376.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.5481, allocations: 17.69 kB / 376.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5481, allocations: 0 / 376.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.755e-05/0.5482, allocations: 52.53 kB / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.5482, allocations: 5.125 kB / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5483, allocations: 1.062 kB / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5483, allocations: 0 / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.5483, allocations: 5.875 kB / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5484, allocations: 0 / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5485, allocations: 9.219 kB / 376.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.5485, allocations: 3.438 kB / 376.2 MB, free: 19.25 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.516e-05/0.5486, allocations: 108.2 kB / 376.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5486, allocations: 12.09 kB / 376.3 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.5487, allocations: 16.31 kB / 376.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5487, allocations: 0 / 376.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5487, allocations: 1.031 kB / 376.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5487, allocations: 0 / 376.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.5489, allocations: 180.3 kB / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.549, allocations: 0 / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.549, allocations: 2.219 kB / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.549, allocations: 0 / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.549, allocations: 0.8125 kB / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5491, allocations: 9 kB / 376.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5491, allocations: 0 / 376.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.5492, allocations: 74.34 kB / 376.6 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.5493, allocations: 97.72 kB / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.5493, allocations: 3.328 kB / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5495, allocations: 3.438 kB / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.5495, allocations: 0 / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.5495, allocations: 5.25 kB / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.5497, allocations: 140.4 kB / 376.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5497, allocations: 0 / 376.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.55, allocations: 23.53 kB / 376.9 MB, free: 18.66 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.0006527/0.5506, allocations: 0.677 MB / 377.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.847e-05/0.5508, allocations: 18.17 kB / 377.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5508, allocations: 5.375 kB / 377.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.5508, allocations: 6.938 kB / 377.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.5509, allocations: 6.594 kB / 377.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5514, allocations: 155 kB / 377.7 MB, free: 17.91 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]