Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_cpp_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.626e-05, allocations: 0.9844 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.501/0.6187, allocations: 76.53 MB / 419.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.619, allocations: 65.41 kB / 419.2 MB, free: 1.18 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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.01544/0.6345, allocations: 3.377 MB / 422.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6346, allocations: 0 / 422.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.6346, allocations: 4 kB / 422.6 MB, free: 14.57 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.0004433/0.6351, allocations: 375.8 kB / 423 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.6351, allocations: 12.03 kB / 423 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.6352, allocations: 30.56 kB / 423 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.6352, allocations: 11.86 kB / 423 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.6358, allocations: 222.8 kB / 423.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.6358, allocations: 4 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.6358, allocations: 4 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.636, allocations: 73.84 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.6361, allocations: 0 / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.6361, allocations: 3.953 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6361, allocations: 0 / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.6361, allocations: 7.938 kB / 423.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.6366, allocations: 189.1 kB / 423.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.6367, allocations: 18.58 kB / 423.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.6367, allocations: 4.859 kB / 423.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.6367, allocations: 0 / 423.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.6368, allocations: 64.27 kB / 423.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.657e-06/0.6368, allocations: 0 / 423.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001728/0.637, allocations: 53.39 kB / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.6371, allocations: 158.2 kB / 423.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.6374, allocations: 155.1 kB / 424 MB, free: 13.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.6374, allocations: 25.7 kB / 424 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.6375, allocations: 162 kB / 424.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.6376, allocations: 7.844 kB / 424.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6376, allocations: 0 / 424.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6377, allocations: 314.8 kB / 424.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.6378, allocations: 12.53 kB / 424.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.6379, allocations: 40.28 kB / 424.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.6379, allocations: 4 kB / 424.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6379, allocations: 0 / 424.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.995e-05/0.638, allocations: 45.58 kB / 424.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6381, allocations: 4 kB / 424.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6381, allocations: 4.094 kB / 424.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.6381, allocations: 3.953 kB / 424.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.6382, allocations: 7.984 kB / 424.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6382, allocations: 0 / 424.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.6384, allocations: 4 kB / 424.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.6384, allocations: 0 / 424.6 MB, free: 12.36 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 0.0001034/0.6385, allocations: 105 kB / 424.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.6386, allocations: 7.906 kB / 424.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.6386, allocations: 11.47 kB / 424.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6386, allocations: 7.984 kB / 424.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6386, allocations: 3.953 kB / 424.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.6387, allocations: 4 kB / 424.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.639, allocations: 173.3 kB / 424.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.639, allocations: 0 / 424.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.639, allocations: 4 kB / 424.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.6391, allocations: 0 / 424.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.6391, allocations: 3.938 kB / 424.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6391, allocations: 3.984 kB / 424.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6391, allocations: 0 / 424.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.6393, allocations: 80.75 kB / 425 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.6394, allocations: 97.02 kB / 425.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.6395, allocations: 0 / 425.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.6396, allocations: 7.984 kB / 425.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.6397, allocations: 7.938 kB / 425.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.6397, allocations: 0 / 425.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000182/0.6399, allocations: 133.6 kB / 425.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6399, allocations: 8.031 kB / 425.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.6402, allocations: 27.98 kB / 425.2 MB, free: 11.63 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.0009214/0.6412, allocations: 0.6796 MB / 425.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.6413, allocations: 27.73 kB / 426 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6413, allocations: 0 / 426 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.6413, allocations: 0 / 426 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.6415, allocations: 7.953 kB / 426 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.6421, allocations: 185.9 kB / 426.1 MB, free: 10.71 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]