Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 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.001132/0.001133, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3828/0.3828, allocations: 39.93 MB / 309.7 MB, free: 9.266 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.2. 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.001532/0.001532, allocations: 67.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 56.89 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3122/0.4518, allocations: 90.16 MB / 0.5124 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03859/0.4905, allocations: 21.29 MB / 0.5332 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.4948, allocations: 84.06 kB / 0.5332 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003124/0.498, allocations: 0.9388 MB / 0.5342 GB, free: 11.82 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.01395/0.5119, allocations: 3.724 MB / 0.5378 GB, free: 9.328 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.01756/0.5295, allocations: 5.624 MB / 0.5433 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.5417, allocations: 6.895 MB / 0.55 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.5457, allocations: 1.806 MB / 0.5518 GB, free: 300 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1818/0.7275, allocations: 74.79 MB / 0.6248 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4346/1.162, allocations: 31.9 MB / 0.656 GB, free: 70.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/1.164, allocations: 245.8 kB / 0.6562 GB, free: 70.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01996/1.184, allocations: 6.074 MB / 0.6621 GB, free: 69.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/1.187, allocations: 1.072 MB / 0.6632 GB, free: 69.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004206/1.191, allocations: 1.489 MB / 0.6646 GB, free: 69.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/1.206, allocations: 5.436 MB / 0.6699 GB, free: 68.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.206, allocations: 0 / 0.6699 GB, free: 68.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.207, allocations: 0 / 0.6699 GB, free: 68.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001544/1.207, allocations: 0 / 0.6699 GB, free: 68.62 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.01127/1.218, allocations: 3.484 MB / 0.6734 GB, free: 67.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.218, allocations: 14.17 kB / 0.6734 GB, free: 67.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.219, allocations: 308 kB / 0.6737 GB, free: 67.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/1.223, allocations: 1.574 MB / 0.6752 GB, free: 66.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/1.223, allocations: 218.9 kB / 0.6754 GB, free: 66.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/1.223, allocations: 188.8 kB / 0.6756 GB, free: 66.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/1.228, allocations: 3.277 MB / 0.6788 GB, free: 65.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-05/1.228, allocations: 6.531 kB / 0.6788 GB, free: 65.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/1.229, allocations: 81.5 kB / 0.6789 GB, free: 65.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002725/1.229, allocations: 258.2 kB / 0.6791 GB, free: 65.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/1.234, allocations: 3.092 MB / 0.6821 GB, free: 63.56 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.01959/1.253, allocations: 13.86 MB / 0.6957 GB, free: 51.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.257, allocations: 2.207 MB / 0.6978 GB, free: 49.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/1.259, allocations: 1.177 MB / 0.699 GB, free: 49.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/1.269, allocations: 5.617 MB / 0.7045 GB, free: 43.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/1.269, allocations: 62.98 kB / 0.7045 GB, free: 43.68 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/1.271, allocations: 150 kB / 0.7047 GB, free: 43.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=158): time 9.187e-06/1.271, allocations: 4 kB / 0.7047 GB, free: 43.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=259): time 0.4928/1.763, allocations: 56.32 MB / 0.7597 GB, free: 3.102 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.1548/1.918, allocations: 46.5 MB / 0.8051 GB, free: 4.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/1.922, allocations: 1.866 MB / 0.8069 GB, free: 2.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007024/1.922, allocations: 69.7 kB / 0.807 GB, free: 2.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.923, allocations: 1.085 MB / 0.808 GB, free: 1.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.925, allocations: 0.864 MB / 0.8089 GB, free: 256 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002098/1.927, allocations: 0.5682 MB / 0.8094 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.927, allocations: 305.1 kB / 0.8097 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/1.932, allocations: 2.176 MB / 0.8118 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/1.937, allocations: 2.821 MB / 0.8146 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.95, allocations: 5.464 MB / 0.8199 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.695e-05/1.95, allocations: 4 kB / 0.8199 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01787/1.967, allocations: 7.496 MB / 0.8273 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/1.968, allocations: 12.94 kB / 0.8273 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.066e-05/1.968, allocations: 20 kB / 0.8273 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04946/2.017, allocations: 12.28 MB / 0.8393 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/2.019, allocations: 353.3 kB / 0.8396 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2663/2.285, allocations: 8.637 MB / 0.8481 GB, free: 239.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/2.289, allocations: 193.9 kB / 0.8482 GB, free: 239 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005428/2.29, allocations: 153.9 kB / 0.8484 GB, free: 239 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004725/2.294, allocations: 2.683 MB / 0.851 GB, free: 238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003861/2.298, allocations: 2.754 MB / 0.8537 GB, free: 236.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009844/2.308, allocations: 5.339 MB / 0.8589 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.78e-05/2.308, allocations: 6.438 kB / 0.8589 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01607/2.324, allocations: 7.23 MB / 0.866 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/2.324, allocations: 13.38 kB / 0.866 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/2.324, allocations: 21.25 kB / 0.866 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02761/2.352, allocations: 7.759 MB / 0.8736 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/2.354, allocations: 392.6 kB / 0.874 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/2.372, allocations: 8.159 MB / 0.8819 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/2.375, allocations: 200.1 kB / 0.8821 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000631/2.376, allocations: 148.6 kB / 0.8823 GB, free: 227.2 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.0009039/2.377, allocations: 330.4 kB / 0.8826 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007984/2.378, allocations: 248.5 kB / 0.8828 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/2.396, allocations: 8.072 MB / 0.8907 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/2.396, allocations: 27.66 kB / 0.8907 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.396, allocations: 0 / 0.8907 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0137/2.41, allocations: 7.138 MB / 0.8977 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/2.436, allocations: 14.02 MB / 0.9114 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/2.436, allocations: 0.6562 kB / 0.9114 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/2.437, allocations: 195.6 kB / 0.9116 GB, free: 211.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0421/2.479, allocations: 11.67 MB / 0.923 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007548/2.48, allocations: 83.95 kB / 0.923 GB, free: 200.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/2.494, allocations: 8.339 MB / 0.9312 GB, free: 191.7 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.1245/2.619, allocations: 44.82 MB / 0.975 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/2.638, allocations: 10.54 MB / 0.9853 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/2.64, allocations: 0.8088 MB / 0.986 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007973/2.641, allocations: 52 kB / 0.9861 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/2.644, allocations: 167.9 kB / 0.9863 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/2.644, allocations: 198.1 kB / 0.9864 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003435/2.644, allocations: 111.9 kB / 0.9866 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001897/2.646, allocations: 1.273 MB / 0.9878 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/2.646, allocations: 0 / 0.9878 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008704/2.655, allocations: 2.895 MB / 0.9906 GB, free: 130.7 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.01058/2.666, allocations: 2.105 MB / 0.9927 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03036/2.696, allocations: 10.31 MB / 1.003 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/2.696, allocations: 384 / 1.003 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009318/2.705, allocations: 3.225 MB / 1.006 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/2.712, allocations: 1.047 MB / 1.007 GB, free: 114.1 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]