Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3537/0.3537, allocations: 37.98 MB / 307.7 MB, free: 10.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 76.11 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 56.46 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3554/0.4997, allocations: 90.17 MB / 0.5096 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0392/0.5389, allocations: 21.28 MB / 0.5304 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004159/0.5432, allocations: 89.25 kB / 0.5305 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005071/0.5483, allocations: 0.9394 MB / 0.5314 GB, free: 14.31 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Machines.mo:136:29-139:50:writable] Warning: Pure function 'ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pump.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeBindings: time 0.01445/0.5628, allocations: 3.724 MB / 0.5351 GB, free: 12.29 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Machines.mo:335:17-340:42:writable] Warning: Pure function 'ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pump.powerCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.01742/0.5803, allocations: 5.631 MB / 0.5406 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.5916, allocations: 6.897 MB / 0.5473 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003759/0.5954, allocations: 1.81 MB / 0.5491 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1913/0.7867, allocations: 74.79 MB / 0.6221 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4169/1.204, allocations: 31.9 MB / 0.6533 GB, free: 74.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/1.205, allocations: 249 kB / 0.6535 GB, free: 74.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/1.225, allocations: 6.066 MB / 0.6594 GB, free: 73.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002828/1.228, allocations: 1.075 MB / 0.6605 GB, free: 73.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004035/1.232, allocations: 1.487 MB / 0.6619 GB, free: 73.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/1.247, allocations: 5.437 MB / 0.6672 GB, free: 73.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.247, allocations: 0 / 0.6672 GB, free: 73.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.434e-06/1.247, allocations: 0 / 0.6672 GB, free: 73.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001234/1.247, allocations: 0 / 0.6672 GB, free: 73.41 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01112/1.258, allocations: 3.482 MB / 0.6706 GB, free: 71.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.258, allocations: 17.2 kB / 0.6706 GB, free: 71.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.259, allocations: 307.4 kB / 0.6709 GB, free: 71.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/1.262, allocations: 1.565 MB / 0.6725 GB, free: 71.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/1.262, allocations: 215.4 kB / 0.6727 GB, free: 71.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/1.263, allocations: 187.8 kB / 0.6728 GB, free: 71.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00494/1.268, allocations: 3.285 MB / 0.6761 GB, free: 70.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/1.268, allocations: 7.156 kB / 0.6761 GB, free: 70.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/1.268, allocations: 81.84 kB / 0.6761 GB, free: 70.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/1.268, allocations: 248.6 kB / 0.6764 GB, free: 70.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/1.273, allocations: 3.099 MB / 0.6794 GB, free: 70.48 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/1.291, allocations: 13.87 MB / 0.693 GB, free: 58.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/1.296, allocations: 2.204 MB / 0.6951 GB, free: 56.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/1.297, allocations: 1.175 MB / 0.6963 GB, free: 56.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007876/1.305, allocations: 5.613 MB / 0.7017 GB, free: 51.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.305, allocations: 55.19 kB / 0.7018 GB, free: 51.05 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001001/1.306, allocations: 169.9 kB / 0.7019 GB, free: 50.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=158): time 7.334e-06/1.306, allocations: 0 / 0.7019 GB, free: 50.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=259): time 0.5047/1.811, allocations: 56.32 MB / 0.757 GB, free: 10.44 MB / 0.4981 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1579/1.969, allocations: 46.5 MB / 0.8024 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/1.973, allocations: 1.862 MB / 0.8042 GB, free: 9.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/1.974, allocations: 73.7 kB / 0.8042 GB, free: 9.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.976, allocations: 1.078 MB / 0.8053 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/1.978, allocations: 0.8701 MB / 0.8061 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002632/1.98, allocations: 0.5644 MB / 0.8067 GB, free: 7.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.98, allocations: 301.1 kB / 0.807 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004841/1.985, allocations: 2.18 MB / 0.8091 GB, free: 4.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/1.991, allocations: 2.826 MB / 0.8119 GB, free: 1.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/2.003, allocations: 5.458 MB / 0.8172 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.873e-05/2.003, allocations: 8 kB / 0.8172 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01741/2.02, allocations: 7.503 MB / 0.8245 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/2.021, allocations: 12.11 kB / 0.8246 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/2.021, allocations: 27.92 kB / 0.8246 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04791/2.069, allocations: 12.28 MB / 0.8366 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/2.07, allocations: 346.5 kB / 0.8369 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2598/2.33, allocations: 8.637 MB / 0.8453 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/2.335, allocations: 194.5 kB / 0.8455 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/2.335, allocations: 157.3 kB / 0.8457 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004887/2.34, allocations: 2.676 MB / 0.8483 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003905/2.344, allocations: 2.759 MB / 0.851 GB, free: 241.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009678/2.354, allocations: 5.338 MB / 0.8562 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.061e-05/2.354, allocations: 3.188 kB / 0.8562 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01427/2.368, allocations: 7.233 MB / 0.8633 GB, free: 237 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/2.368, allocations: 13.19 kB / 0.8633 GB, free: 237 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/2.368, allocations: 19.5 kB / 0.8633 GB, free: 237 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02572/2.394, allocations: 7.755 MB / 0.8709 GB, free: 235.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/2.396, allocations: 398 kB / 0.8712 GB, free: 235.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/2.414, allocations: 8.166 MB / 0.8792 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/2.418, allocations: 190.2 kB / 0.8794 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007952/2.419, allocations: 145.3 kB / 0.8795 GB, free: 232.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.001227/2.421, allocations: 341.9 kB / 0.8799 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/2.422, allocations: 248.8 kB / 0.8801 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02433/2.446, allocations: 8.063 MB / 0.888 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-05/2.446, allocations: 28.47 kB / 0.888 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/2.446, allocations: 0.625 kB / 0.888 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01762/2.464, allocations: 7.144 MB / 0.895 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03/2.494, allocations: 14.01 MB / 0.9087 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/2.494, allocations: 0 / 0.9087 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/2.495, allocations: 196.9 kB / 0.9088 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04444/2.539, allocations: 11.66 MB / 0.9202 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008569/2.54, allocations: 87.94 kB / 0.9203 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/2.556, allocations: 8.344 MB / 0.9285 GB, free: 200.9 MB / 0.5762 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1327/2.689, allocations: 44.82 MB / 0.9722 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/2.708, allocations: 10.54 MB / 0.9825 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/2.711, allocations: 0.8018 MB / 0.9833 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/2.712, allocations: 52 kB / 0.9834 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/2.715, allocations: 171.9 kB / 0.9835 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/2.716, allocations: 206 kB / 0.9837 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004133/2.716, allocations: 111.9 kB / 0.9838 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002111/2.718, allocations: 1.273 MB / 0.9851 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/2.718, allocations: 0 / 0.9851 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009137/2.727, allocations: 2.892 MB / 0.9879 GB, free: 139.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,77), (19,104)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009077/2.736, allocations: 2.091 MB / 0.9899 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02927/2.766, allocations: 10.33 MB / 1 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.766, allocations: 3.938 kB / 1 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009362/2.775, allocations: 3.219 MB / 1.003 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006296/2.781, allocations: 1.042 MB / 1.004 GB, free: 123.3 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]