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.288/2.288, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.778e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 44.49 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.4597, allocations: 70.25 MB / 364.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.46, allocations: 63.97 kB / 364.5 MB, free: 11.63 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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.02183/0.4819, allocations: 3.266 MB / 367.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.482, allocations: 0 / 367.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.482, allocations: 4 kB / 367.8 MB, free: 8.355 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.0005386/0.4825, allocations: 362.3 kB / 368.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.4826, allocations: 15.97 kB / 368.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.4827, allocations: 7.906 kB / 368.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.4836, allocations: 235 kB / 368.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4836, allocations: 0 / 368.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.4837, allocations: 4 kB / 368.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.685e-05/0.4838, allocations: 4 kB / 368.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4839, allocations: 70.78 kB / 368.5 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.484, allocations: 0 / 368.5 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.484, allocations: 11.94 kB / 368.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.484, allocations: 4 kB / 368.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.4846, allocations: 174.1 kB / 368.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.4847, allocations: 14.58 kB / 368.7 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.4848, allocations: 8.922 kB / 368.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.4848, allocations: 3.984 kB / 368.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.4849, allocations: 38.55 kB / 368.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 3.497e-06/0.4849, allocations: 0 / 368.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002177/0.4851, allocations: 45.64 kB / 368.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4852, allocations: 128.5 kB / 368.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.4855, allocations: 152 kB / 369 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.4856, allocations: 25.7 kB / 369.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.4857, allocations: 96.12 kB / 369.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.4857, allocations: 3.906 kB / 369.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.4858, allocations: 0 / 369.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.486, allocations: 322.8 kB / 369.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.486, allocations: 11.97 kB / 369.5 MB, free: 6.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.4861, allocations: 41.16 kB / 369.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.4862, allocations: 15.3 kB / 369.5 MB, free: 6.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4862, allocations: 0 / 369.5 MB, free: 6.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001405/0.4864, allocations: 49.64 kB / 369.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4864, allocations: 12 kB / 369.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4864, allocations: 0 / 369.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4864, allocations: 0 / 369.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.4865, allocations: 7.984 kB / 369.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4865, allocations: 0 / 369.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.4867, allocations: 7.938 kB / 369.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4867, allocations: 0 / 369.6 MB, free: 6.27 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 0.0001215/0.4869, allocations: 112.7 kB / 369.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.66e-05/0.487, allocations: 45.59 kB / 369.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.487, allocations: 7.906 kB / 369.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.4871, allocations: 16.62 kB / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4871, allocations: 0 / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4871, allocations: 0 / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4871, allocations: 0 / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.4874, allocations: 158.2 kB / 370 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4874, allocations: 0 / 370 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.4875, allocations: 0 / 370 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4875, allocations: 4 kB / 370 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4875, allocations: 0 / 370 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4875, allocations: 4.031 kB / 370 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4875, allocations: 0 / 370 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.4877, allocations: 77.02 kB / 370 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4878, allocations: 85.09 kB / 370.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.4879, allocations: 0 / 370.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.488, allocations: 7.984 kB / 370.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.488, allocations: 0 / 370.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.488, allocations: 8.094 kB / 370.1 MB, free: 5.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4882, allocations: 127.2 kB / 370.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4882, allocations: 0 / 370.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.4886, allocations: 19.94 kB / 370.3 MB, free: 5.527 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.0009124/0.4896, allocations: 0.6853 MB / 371 MB, free: 4.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.4897, allocations: 15.98 kB / 371 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4897, allocations: 0 / 371 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.4898, allocations: 11.88 kB / 371 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.49, allocations: 8 kB / 371 MB, free: 4.805 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.4906, allocations: 145.7 kB / 371.1 MB, free: 4.629 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]