Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.234e-05, allocations: 8 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 50.4 MB / 342.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.6355, allocations: 76.47 MB / 419.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6358, allocations: 66.47 kB / 419.2 MB, free: 1.328 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.6521, allocations: 3.379 MB / 422.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6522, allocations: 4 kB / 422.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.6522, allocations: 4 kB / 422.6 MB, free: 14.71 MB / 346.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.0004658/0.6527, allocations: 383.8 kB / 422.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.6527, allocations: 8.031 kB / 422.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.6528, allocations: 30.56 kB / 423 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.6528, allocations: 11.86 kB / 423 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.6534, allocations: 217.2 kB / 423.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6534, allocations: 0 / 423.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.6534, allocations: 0 / 423.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.6536, allocations: 77.73 kB / 423.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.6536, allocations: 0 / 423.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.6537, allocations: 3.953 kB / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6537, allocations: 0 / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.6537, allocations: 7.938 kB / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.6542, allocations: 183.4 kB / 423.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.6543, allocations: 30.5 kB / 423.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.6543, allocations: 8.109 kB / 423.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.6543, allocations: 4.062 kB / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.6544, allocations: 56.27 kB / 423.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 4.178e-06/0.6544, allocations: 0 / 423.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.6546, allocations: 41.59 kB / 423.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.6547, allocations: 162.2 kB / 423.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.655, allocations: 158.1 kB / 423.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.655, allocations: 29.7 kB / 423.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.6551, allocations: 91.52 kB / 424 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.6551, allocations: 7.844 kB / 424 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.6552, allocations: 3.938 kB / 424 MB, free: 13.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6553, allocations: 322.3 kB / 424.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.6553, allocations: 0.625 kB / 424.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.6554, allocations: 47.91 kB / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.6555, allocations: 4 kB / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6555, allocations: 0 / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.6556, allocations: 52.84 kB / 424.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6557, allocations: 4 kB / 424.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6557, allocations: 0 / 424.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6557, allocations: 3.953 kB / 424.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.6558, allocations: 12.03 kB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6558, allocations: 0 / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.656, allocations: 4 kB / 424.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.656, allocations: 0 / 424.5 MB, free: 12.56 MB / 346.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 9.376e-05/0.6561, allocations: 105 kB / 424.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.6561, allocations: 11.22 kB / 424.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.6562, allocations: 11.64 kB / 424.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6562, allocations: 0 / 424.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6562, allocations: 3.953 kB / 424.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6562, allocations: 4.047 kB / 424.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.6566, allocations: 180.6 kB / 424.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6566, allocations: 4 kB / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.6566, allocations: 4 kB / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6566, allocations: 0 / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.6567, allocations: 3.938 kB / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6567, allocations: 0 / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6567, allocations: 0 / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.6569, allocations: 80.3 kB / 424.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.657, allocations: 104.7 kB / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.6571, allocations: 3.938 kB / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6572, allocations: 4 kB / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.6573, allocations: 0 / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.6573, allocations: 0 / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.6575, allocations: 140.8 kB / 425.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6575, allocations: 0 / 425.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.6578, allocations: 23.56 kB / 425.1 MB, free: 11.84 MB / 346.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.0009371/0.6588, allocations: 0.6848 MB / 425.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.6589, allocations: 11.94 kB / 425.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6589, allocations: 0 / 425.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.659, allocations: 8.062 kB / 425.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.6592, allocations: 18.41 kB / 425.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.6598, allocations: 155.6 kB / 426 MB, free: 10.94 MB / 346.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]