Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006354/0.006354, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8533/0.8533, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 96.33 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 16 kB / 0.5692 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4683, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8398/1.308, allocations: 385.3 MB / 1.026 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.309, allocations: 101.3 kB / 1.026 GB, free: 4.219 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.powerData. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.powerData[1]. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.copData. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.copData[1]. Notification: Performance of FrontEnd - DAE generated: time 4.271/5.58, allocations: 0.9935 GB / 2.019 GB, free: 65.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/5.58, allocations: 0 / 2.019 GB, free: 65.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007855/5.58, allocations: 83.97 kB / 2.019 GB, free: 65.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01624/5.597, allocations: 3.815 MB / 2.023 GB, free: 61.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/5.597, allocations: 12.03 kB / 2.023 GB, free: 61.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001413/5.598, allocations: 261.7 kB / 2.023 GB, free: 61.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/5.604, allocations: 0.6952 MB / 2.024 GB, free: 60.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/5.621, allocations: 3.855 MB / 2.028 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/5.621, allocations: 262.9 kB / 2.028 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00089/5.622, allocations: 200 kB / 2.028 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006498/5.629, allocations: 2.075 MB / 2.03 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.852e-05/5.629, allocations: 6.703 kB / 2.03 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/5.629, allocations: 80 kB / 2.03 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/5.629, allocations: 44 kB / 2.03 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/5.633, allocations: 1.56 MB / 2.032 GB, free: 52.24 MB / 0.698 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.01452/5.647, allocations: 8.549 MB / 2.04 GB, free: 43.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/5.649, allocations: 1.082 MB / 2.041 GB, free: 42.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007103/5.656, allocations: 4.39 MB / 2.046 GB, free: 37.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/5.657, allocations: 43.56 kB / 2.046 GB, free: 37.33 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001227/5.658, allocations: 110.7 kB / 2.046 GB, free: 37.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 6.051e-06/5.658, allocations: 0 / 2.046 GB, free: 37.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.002885/5.661, allocations: 1.557 MB / 2.047 GB, free: 35.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/5.661, allocations: 188.9 kB / 2.048 GB, free: 35.39 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:28:3-29:45:writable] Warning: Parameter heatPump.heatPumpData.P_the_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:26:3-27:70:writable] Warning: Parameter heatPump.heatPumpData.G has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:23:3-24:63:writable] Warning: Parameter heatPump.heatPumpData.dp2_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:21:3-22:64:writable] Warning: Parameter heatPump.heatPumpData.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:18:3-19:83:writable] Warning: Parameter heatPump.heatPumpData.m2_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:16:3-17:84:writable] Warning: Parameter heatPump.heatPumpData.m1_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:13:3-14:37:writable] Warning: Parameter heatPump.heatPumpData.m2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:10:3-11:38:writable] Warning: Parameter heatPump.heatPumpData.m1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:9:3-9:48:writable] Warning: Parameter heatPump.heatPumpData.copData[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:8:3-8:71:writable] Warning: Parameter heatPump.heatPumpData.powerData[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003403/5.664, allocations: 2.387 MB / 2.05 GB, free: 33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/5.664, allocations: 49.7 kB / 2.05 GB, free: 32.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/5.665, allocations: 1.451 MB / 2.051 GB, free: 31.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/5.666, allocations: 299.9 kB / 2.052 GB, free: 31.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/5.666, allocations: 32 kB / 2.052 GB, free: 31.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/5.666, allocations: 365.9 kB / 2.052 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/5.667, allocations: 451.7 kB / 2.052 GB, free: 30.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/5.668, allocations: 1.184 MB / 2.054 GB, free: 28.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/5.669, allocations: 0.613 MB / 2.054 GB, free: 28.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/5.669, allocations: 4 kB / 2.054 GB, free: 28.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003557/5.672, allocations: 1.828 MB / 2.056 GB, free: 26.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001564/5.674, allocations: 8.413 MB / 2.064 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/5.674, allocations: 20 kB / 2.064 GB, free: 17.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/5.675, allocations: 117.6 kB / 2.064 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/5.676, allocations: 359.5 kB / 2.065 GB, free: 16.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006069/5.676, allocations: 1.186 MB / 2.066 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/5.68, allocations: 251.5 kB / 2.066 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/5.68, allocations: 87.97 kB / 2.066 GB, free: 15.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/5.68, allocations: 4 kB / 2.066 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002881/5.683, allocations: 1.54 MB / 2.068 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/5.683, allocations: 20 kB / 2.068 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/5.684, allocations: 117.6 kB / 2.068 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/5.685, allocations: 359.9 kB / 2.068 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006068/5.685, allocations: 1.175 MB / 2.069 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/5.688, allocations: 195.7 kB / 2.069 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/5.688, allocations: 91.97 kB / 2.07 GB, free: 11.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 191 * Array equations: 2 * 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 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001883/5.69, allocations: 0.6768 MB / 2.07 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/5.691, allocations: 280.5 kB / 2.071 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/5.695, allocations: 1.561 MB / 2.072 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/5.695, allocations: 11.98 kB / 2.072 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/5.695, allocations: 4 kB / 2.072 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/5.697, allocations: 1.06 MB / 2.073 GB, free: 8.137 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.007968/5.705, allocations: 3.447 MB / 2.076 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/5.705, allocations: 8.031 kB / 2.076 GB, free: 4.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007499/5.706, allocations: 175.8 kB / 2.077 GB, free: 4.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/5.706, allocations: 89.66 kB / 2.077 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.146e-05/5.706, allocations: 27.98 kB / 2.077 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000517/5.707, allocations: 1.132 MB / 2.078 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/5.707, allocations: 7.938 kB / 2.078 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/5.71, allocations: 2.321 MB / 2.08 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/5.712, allocations: 0.5167 MB / 2.081 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009362/5.713, allocations: 35.7 kB / 2.081 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/5.715, allocations: 119.7 kB / 2.081 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/5.715, allocations: 104.7 kB / 2.081 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/5.716, allocations: 47.97 kB / 2.081 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004876/5.721, allocations: 1.787 MB / 2.083 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.072e-06/5.721, allocations: 0 / 2.083 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009526/5.73, allocations: 1.536 MB / 2.084 GB, free: 12.47 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y,heatPump.hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/5.74, allocations: 5.365 MB / 2.089 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005546/5.746, allocations: 2.062 MB / 2.091 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/5.746, allocations: 0 / 2.091 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/5.748, allocations: 0.6119 MB / 2.092 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/5.755, allocations: 1.331 MB / 2.093 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4901/6.245, allocations: 20.26 MB / 2.113 GB, free: 97.71 MB / 0.7292 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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]