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.006858/0.006858, allocations: 95.98 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.2926/0.2926, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.001421/0.001421, allocations: 71.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2612, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.08686/0.3481, allocations: 90.18 MB / 0.5661 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02921/0.3774, allocations: 21.3 MB / 0.5869 GB, free: 3.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.3807, allocations: 91.44 kB / 0.587 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.3835, allocations: 0.9317 MB / 0.5879 GB, free: 2.742 MB / 462.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.01072/0.3942, allocations: 3.729 MB / 0.5915 GB, free: 15 MB / 478.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.01249/0.4067, allocations: 5.62 MB / 0.597 GB, free: 9.363 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00872/0.4154, allocations: 6.902 MB / 0.6038 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.4184, allocations: 1.809 MB / 0.6055 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5341/0.9525, allocations: 74.79 MB / 0.6786 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0658/1.018, allocations: 31.9 MB / 0.7097 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/1.02, allocations: 244 kB / 0.7099 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/1.033, allocations: 6.085 MB / 0.7159 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/1.034, allocations: 1.069 MB / 0.7169 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002245/1.037, allocations: 1.487 MB / 0.7184 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/1.047, allocations: 5.529 MB / 0.7238 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.047, allocations: 0 / 0.7238 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.235e-06/1.047, allocations: 0 / 0.7238 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001536/1.047, allocations: 0 / 0.7238 GB, free: 9.344 MB / 0.5137 GB 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.009687/1.057, allocations: 3.579 MB / 0.7273 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.057, allocations: 11.89 kB / 0.7273 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.058, allocations: 326.1 kB / 0.7276 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/1.061, allocations: 1.678 MB / 0.7292 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/1.061, allocations: 216.7 kB / 0.7294 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/1.062, allocations: 187.7 kB / 0.7296 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/1.067, allocations: 3.279 MB / 0.7328 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/1.067, allocations: 0 / 0.7328 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/1.067, allocations: 81.48 kB / 0.7329 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003084/1.067, allocations: 255.2 kB / 0.7331 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/1.073, allocations: 3.099 MB / 0.7362 GB, free: 15.18 MB / 0.5294 GB 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.01904/1.092, allocations: 13.84 MB / 0.7497 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/1.096, allocations: 2.195 MB / 0.7518 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1.098, allocations: 1.18 MB / 0.753 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008538/1.106, allocations: 5.627 MB / 0.7585 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.106, allocations: 55.75 kB / 0.7585 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007674/1.107, allocations: 166.5 kB / 0.7587 GB, free: 6.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=158): time 5.35e-06/1.107, allocations: 0 / 0.7587 GB, free: 6.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=259): time 0.516/1.623, allocations: 56.33 MB / 0.8137 GB, free: 14.43 MB / 0.6075 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1473/1.77, allocations: 46.48 MB / 0.8591 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/1.773, allocations: 1.869 MB / 0.8609 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005695/1.774, allocations: 65.7 kB / 0.861 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/1.775, allocations: 1.113 MB / 0.8621 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.776, allocations: 0.9138 MB / 0.863 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/1.777, allocations: 0.5683 MB / 0.8635 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/1.778, allocations: 301.2 kB / 0.8638 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00441/1.782, allocations: 2.187 MB / 0.8659 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/1.787, allocations: 2.812 MB / 0.8687 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2441/2.031, allocations: 5.462 MB / 0.874 GB, free: 283.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/2.031, allocations: 5.438 kB / 0.874 GB, free: 283.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.02018/2.051, allocations: 7.504 MB / 0.8813 GB, free: 281.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/2.051, allocations: 15.12 kB / 0.8814 GB, free: 281.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/2.052, allocations: 20.34 kB / 0.8814 GB, free: 281.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05052/2.102, allocations: 12.25 MB / 0.8933 GB, free: 280.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/2.104, allocations: 351.4 kB / 0.8937 GB, free: 280.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/2.124, allocations: 8.648 MB / 0.9021 GB, free: 277.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/2.129, allocations: 193.1 kB / 0.9023 GB, free: 277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009944/2.13, allocations: 151 kB / 0.9025 GB, free: 277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006575/2.136, allocations: 2.684 MB / 0.9051 GB, free: 276 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004475/2.141, allocations: 2.765 MB / 0.9078 GB, free: 274.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0106/2.151, allocations: 5.331 MB / 0.913 GB, free: 271.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.047e-05/2.151, allocations: 6.906 kB / 0.913 GB, free: 271.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.0142/2.166, allocations: 7.241 MB / 0.9201 GB, free: 267.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/2.166, allocations: 16.53 kB / 0.9201 GB, free: 267.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/2.166, allocations: 20.91 kB / 0.9201 GB, free: 267.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02393/2.19, allocations: 7.738 MB / 0.9277 GB, free: 262.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/2.192, allocations: 387.3 kB / 0.928 GB, free: 261.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/2.207, allocations: 8.165 MB / 0.936 GB, free: 253.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/2.211, allocations: 197.5 kB / 0.9362 GB, free: 253.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005954/2.211, allocations: 151.9 kB / 0.9363 GB, free: 253.3 MB / 0.6544 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.00104/2.212, allocations: 341.4 kB / 0.9367 GB, free: 252.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008538/2.213, allocations: 263.2 kB / 0.9369 GB, free: 252.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/2.231, allocations: 8.055 MB / 0.9448 GB, free: 244.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/2.231, allocations: 32 kB / 0.9448 GB, free: 244.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/2.231, allocations: 0 / 0.9448 GB, free: 244.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01393/2.245, allocations: 7.142 MB / 0.9518 GB, free: 237.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/2.27, allocations: 14.01 MB / 0.9655 GB, free: 223.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/2.27, allocations: 4 kB / 0.9655 GB, free: 223.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009976/2.271, allocations: 195.7 kB / 0.9656 GB, free: 223.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04291/2.314, allocations: 11.63 MB / 0.977 GB, free: 211.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/2.315, allocations: 83.95 kB / 0.9771 GB, free: 211.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/2.332, allocations: 8.351 MB / 0.9852 GB, free: 203 MB / 0.6544 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = 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.1269/2.459, allocations: 44.8 MB / 1.029 GB, free: 157.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/2.481, allocations: 10.55 MB / 1.039 GB, free: 147.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/2.483, allocations: 0.823 MB / 1.04 GB, free: 146.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/2.484, allocations: 56 kB / 1.04 GB, free: 146.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/2.487, allocations: 171.8 kB / 1.04 GB, free: 146.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/2.488, allocations: 202 kB / 1.041 GB, free: 146 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004213/2.488, allocations: 115.9 kB / 1.041 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002085/2.49, allocations: 1.265 MB / 1.042 GB, free: 144.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.41e-07/2.49, allocations: 0 / 1.042 GB, free: 144.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008822/2.499, allocations: 2.918 MB / 1.045 GB, free: 142 MB / 0.6544 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.009537/2.509, allocations: 2.13 MB / 1.047 GB, free: 140.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02536/2.534, allocations: 9.222 MB / 1.056 GB, free: 130.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.534, allocations: 0 / 1.056 GB, free: 130.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009024/2.543, allocations: 3.223 MB / 1.059 GB, free: 127.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005936/2.549, allocations: 1.048 MB / 1.06 GB, free: 126.6 MB / 0.6544 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]