Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.968e-05, allocations: 4 kB / 269.4 MB, free: 6.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 47.56 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5104, allocations: 75.31 MB / 392.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.5107, allocations: 63.91 kB / 392.4 MB, free: 12.33 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Utilities/Streams.mo:212:5-212: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.3/Utilities/Streams.mo:213:5-213: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.3/Utilities/Streams.mo:212:5-212: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.3/Utilities/Streams.mo:213:5-213: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.3/Utilities/Streams.mo:212:5-212: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.3/Utilities/Streams.mo:213:5-213: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.3/Utilities/Streams.mo:212:5-212: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.3/Utilities/Streams.mo:213:5-213:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.01627/0.527, allocations: 3.427 MB / 395.8 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5271, allocations: 0 / 395.8 MB, free: 9.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.5271, allocations: 0 / 395.8 MB, free: 9.66 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.0004227/0.5275, allocations: 390.6 kB / 396.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5276, allocations: 11.97 kB / 396.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.5276, allocations: 30.56 kB / 396.2 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.5277, allocations: 7.906 kB / 396.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.5283, allocations: 237.2 kB / 396.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.5283, allocations: 8.516 kB / 396.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.5284, allocations: 0 / 396.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5285, allocations: 72.92 kB / 396.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5286, allocations: 0 / 396.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.5286, allocations: 4 kB / 396.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5286, allocations: 4 kB / 396.6 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.5286, allocations: 0 / 396.6 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.5291, allocations: 184.9 kB / 396.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.5292, allocations: 23.84 kB / 396.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.5292, allocations: 8.922 kB / 396.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.5292, allocations: 0 / 396.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.5293, allocations: 61.95 kB / 396.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.5293, allocations: 0 / 396.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.5295, allocations: 50.34 kB / 396.9 MB, free: 8.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.5296, allocations: 154.2 kB / 397 MB, free: 8.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.5299, allocations: 156.8 kB / 397.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.5299, allocations: 26.27 kB / 397.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.53, allocations: 99.41 kB / 397.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.53, allocations: 0.625 kB / 397.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.5301, allocations: 0 / 397.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5302, allocations: 326 kB / 397.6 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.5303, allocations: 4.625 kB / 397.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.5303, allocations: 38.55 kB / 397.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.5304, allocations: 13.05 kB / 397.7 MB, free: 7.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5304, allocations: 3.938 kB / 397.7 MB, free: 7.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.5305, allocations: 51.62 kB / 397.7 MB, free: 7.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5306, allocations: 4 kB / 397.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5306, allocations: 0 / 397.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5306, allocations: 0 / 397.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.5307, allocations: 7.984 kB / 397.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5307, allocations: 0 / 397.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.5308, allocations: 4.5 kB / 397.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5309, allocations: 4.5 kB / 397.8 MB, free: 7.492 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 9.325e-05/0.531, allocations: 102 kB / 397.9 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.531, allocations: 15.89 kB / 397.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.5311, allocations: 13.67 kB / 397.9 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5311, allocations: 0 / 397.9 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5311, allocations: 0 / 397.9 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5311, allocations: 11.92 kB / 397.9 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.5314, allocations: 172 kB / 398.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5314, allocations: 0 / 398.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.5315, allocations: 4 kB / 398.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5315, allocations: 3.953 kB / 398.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.5315, allocations: 0.6875 kB / 398.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.5315, allocations: 4 kB / 398.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5315, allocations: 3.938 kB / 398.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.5317, allocations: 72.09 kB / 398.1 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5318, allocations: 99.64 kB / 398.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.5319, allocations: 8.516 kB / 398.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.532, allocations: 0.5 kB / 398.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.5321, allocations: 7.984 kB / 398.3 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5321, allocations: 8.141 kB / 398.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.5323, allocations: 130.4 kB / 398.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5323, allocations: 3.938 kB / 398.4 MB, free: 6.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.5326, allocations: 36.47 kB / 398.4 MB, free: 6.75 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.0008144/0.5334, allocations: 0.6839 MB / 399.1 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.942e-05/0.5336, allocations: 15.98 kB / 399.1 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5336, allocations: 4 kB / 399.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.5336, allocations: 0 / 399.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.5338, allocations: 7.875 kB / 399.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.5343, allocations: 149 kB / 399.3 MB, free: 5.867 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]