Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 224.8 MB, free: 276 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004389, allocations: 15.94 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2821, allocations: 48.7 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1255/0.4077, allocations: 90.25 MB / 421.4 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.06538/0.4731, allocations: 37.61 MB / 459.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003512/0.4767, allocations: 99.12 kB / 459.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.481, allocations: 1.221 MB / 460.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02754/0.5086, allocations: 6.408 MB / 466.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3255/0.8341, allocations: 7.412 MB / 474.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008989/0.8431, allocations: 5.32 MB / 479.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.8463, allocations: 1.571 MB / 481.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04153/0.8879, allocations: 24.09 MB / 0.4933 GB, free: 10.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04085/0.9288, allocations: 23.76 MB / 0.5165 GB, free: 7.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007514/0.9296, allocations: 140 kB / 0.5167 GB, free: 6.973 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03087/0.9604, allocations: 12.46 MB / 0.5288 GB, free: 13.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.9638, allocations: 0.91 MB / 0.5297 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002463/0.9663, allocations: 0.6168 MB / 0.5303 GB, free: 13.04 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0261/0.9925, allocations: 6.907 MB / 0.5371 GB, free: 7.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.936e-06/0.9925, allocations: 2.734 kB / 0.5371 GB, free: 7.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.929e-06/0.9925, allocations: 0 / 0.5371 GB, free: 7.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.335e-05/0.9927, allocations: 4 kB / 0.5371 GB, free: 7.133 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02372/1.016, allocations: 3.967 MB / 0.541 GB, free: 3.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.016, allocations: 8.031 kB / 0.541 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/1.034, allocations: 0.9557 MB / 0.5419 GB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008414/1.042, allocations: 1.714 MB / 0.5436 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007589/1.043, allocations: 278.8 kB / 0.5438 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/1.044, allocations: 240.9 kB / 0.5441 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/1.058, allocations: 4.426 MB / 0.5484 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-05/1.058, allocations: 10.47 kB / 0.5484 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003801/1.059, allocations: 103.7 kB / 0.5485 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004485/1.059, allocations: 272.3 kB / 0.5488 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/1.073, allocations: 4.191 MB / 0.5529 GB, free: 10.28 MB / 442.7 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.03463/1.107, allocations: 18.83 MB / 0.5712 GB, free: 9.105 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/1.123, allocations: 2.764 MB / 0.5739 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04321/1.166, allocations: 17.23 MB / 0.5908 GB, free: 4.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.602e-05/1.166, allocations: 52.75 kB / 0.5908 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001694/1.168, allocations: 316.6 kB / 0.5911 GB, free: 3.914 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 5.721e-06/1.168, allocations: 3.562 kB / 0.5911 GB, free: 3.914 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: tank.medium.h 2: radiator.mediums[1].h 3: pump.medium.h 4: pump.medium.p 5: heater.mediums[1].h 6: radiator.mediums[1].p 7: pipe.mediums[2].p 8: pipe.mediums[2].h 9: heater.mediums[1].p 10: pipe.mediums[1].p 11: pipe.mediums[1].h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=281): time 0.9717/2.139, allocations: 74.48 MB / 0.6639 GB, free: 228.2 MB / 0.5105 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.5078/2.647, allocations: 126.6 MB / 0.7875 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/2.65, allocations: 1.849 MB / 0.7893 GB, free: 110 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006201/2.651, allocations: 73.7 kB / 0.7894 GB, free: 110 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/2.651, allocations: 1.114 MB / 0.7905 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/2.652, allocations: 0.9391 MB / 0.7914 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/2.653, allocations: 60 kB / 0.7914 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001799/2.653, allocations: 432.9 kB / 0.7919 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006406/2.659, allocations: 2.731 MB / 0.7945 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006984/2.666, allocations: 3.381 MB / 0.7978 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/2.675, allocations: 3.172 MB / 0.8009 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/2.675, allocations: 8 kB / 0.8009 GB, free: 97.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.02437/2.699, allocations: 9.144 MB / 0.8099 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002916/2.7, allocations: 0.6124 MB / 0.8105 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/2.7, allocations: 20 kB / 0.8105 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08513/2.785, allocations: 16.31 MB / 0.8264 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/2.787, allocations: 363.4 kB / 0.8268 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02859/2.816, allocations: 10.91 MB / 0.8374 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/2.821, allocations: 427.6 kB / 0.8378 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009333/2.822, allocations: 179.9 kB / 0.838 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/2.822, allocations: 4 kB / 0.838 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02361/2.846, allocations: 8.601 MB / 0.8464 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-05/2.846, allocations: 16 kB / 0.8464 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03517/2.881, allocations: 8.187 MB / 0.8544 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/2.883, allocations: 435.3 kB / 0.8548 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/2.907, allocations: 9.991 MB / 0.8646 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/2.912, allocations: 427.5 kB / 0.865 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/2.913, allocations: 175.9 kB / 0.8651 GB, free: 31.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 179 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {16 79,18 85} Notification: Performance of prepare postOptimizeDAE: time 0.002287/2.915, allocations: 0.8696 MB / 0.866 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007792/2.916, allocations: 252.9 kB / 0.8662 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03298/2.949, allocations: 17.14 MB / 0.883 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/2.949, allocations: 111.8 kB / 0.8831 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.949, allocations: 4 kB / 0.8831 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.269/3.218, allocations: 15.36 MB / 0.8981 GB, free: 225.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06824/3.286, allocations: 28.59 MB / 0.926 GB, free: 213.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-05/3.286, allocations: 0 / 0.926 GB, free: 213.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/3.288, allocations: 216.5 kB / 0.9262 GB, free: 213.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09535/3.383, allocations: 26.76 MB / 0.9523 GB, free: 188.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007581/3.384, allocations: 95.95 kB / 0.9524 GB, free: 188.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0327/3.417, allocations: 15.85 MB / 0.9679 GB, free: 172.8 MB / 0.5105 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06139/3.478, allocations: 14.14 MB / 0.9817 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0488/3.527, allocations: 23.31 MB / 1.004 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/3.53, allocations: 1.108 MB / 1.006 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008237/3.531, allocations: 56.94 kB / 1.006 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/3.536, allocations: 471.3 kB / 1.006 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/3.536, allocations: 254.2 kB / 1.006 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004589/3.537, allocations: 127.9 kB / 1.006 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002192/3.539, allocations: 1.274 MB / 1.008 GB, free: 132 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.16e-07/3.539, allocations: 4 kB / 1.008 GB, free: 132 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01329/3.552, allocations: 4.072 MB / 1.012 GB, free: 128.2 MB / 0.5105 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: 58 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse92.region3boundary,$cse93.region3boundary,$cse94.phase,$cse94.region,$cse95.phase,$cse95.region,$cse100.phase,$cse100.region,$cse101.phase,$cse101.region,$cse102.region3boundary,$cse103.region3boundary,$cse104.phase,$cse104.region,$cse111.phase,$cse111.region,$cse112.phase,$cse112.region,$cse113.region3boundary,$cse114.region3boundary,$cse115.phase,$cse115.region,$cse125.phase,$cse125.region,$cse126.phase,$cse126.region,$cse127.phase,$cse127.region,$cse128.phase,$cse128.region,$cse129.region3boundary,$cse130.region3boundary,$cse131.phase,$cse131.region,$cse132.region3boundary,$cse133.region3boundary,$cse134.phase,$cse134.region,$cse141.phase,$cse141.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 82,20 122} Notification: Performance of Backend phase and start with SimCode phase: time 0.01509/3.568, allocations: 3.182 MB / 1.015 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06886/3.636, allocations: 12.76 MB / 1.027 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/3.637, allocations: 4.938 kB / 1.027 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02935/3.666, allocations: 5.919 MB / 1.033 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/3.672, allocations: 1.014 MB / 1.034 GB, free: 105.7 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4497:9-4497:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]