Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_dev_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.0117/0.0117, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.114/1.114, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.078/2.078, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001451/0.001451, allocations: 102 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005678/0.0005677, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7952, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.989, allocations: 385.3 MB / 1.026 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004811/1.99, allocations: 101.4 kB / 1.026 GB, free: 3.996 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 6.315/8.305, allocations: 0.9935 GB / 2.019 GB, free: 65.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.865e-06/8.305, allocations: 0 / 2.019 GB, free: 65.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009438/8.306, allocations: 79.98 kB / 2.019 GB, free: 65 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.0209/8.327, allocations: 3.822 MB / 2.023 GB, free: 61.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.981e-05/8.327, allocations: 8.031 kB / 2.023 GB, free: 61.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00171/8.328, allocations: 261.7 kB / 2.023 GB, free: 60.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007483/8.336, allocations: 0.6913 MB / 2.024 GB, free: 60.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/8.358, allocations: 3.856 MB / 2.028 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006428/8.359, allocations: 262.9 kB / 2.028 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/8.36, allocations: 196 kB / 2.028 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/8.37, allocations: 2.084 MB / 2.03 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/8.37, allocations: 0 / 2.03 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008565/8.371, allocations: 80 kB / 2.03 GB, free: 53.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-05/8.371, allocations: 44 kB / 2.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00886/8.38, allocations: 1.56 MB / 2.032 GB, free: 51.89 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.03532/8.415, allocations: 8.552 MB / 2.04 GB, free: 43.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/8.42, allocations: 1.082 MB / 2.041 GB, free: 41.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/8.435, allocations: 4.39 MB / 2.046 GB, free: 37.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/8.435, allocations: 49.73 kB / 2.046 GB, free: 36.98 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002574/8.438, allocations: 110.7 kB / 2.046 GB, free: 36.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 1.19e-05/8.438, allocations: 0 / 2.046 GB, free: 36.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.006679/8.444, allocations: 1.557 MB / 2.047 GB, free: 35.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/8.445, allocations: 192.9 kB / 2.048 GB, free: 35.04 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.009074/8.454, allocations: 2.385 MB / 2.05 GB, free: 32.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004775/8.454, allocations: 49.7 kB / 2.05 GB, free: 32.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/8.456, allocations: 1.447 MB / 2.051 GB, free: 31.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006473/8.457, allocations: 299.9 kB / 2.052 GB, free: 30.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/8.457, allocations: 32 kB / 2.052 GB, free: 30.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001512/8.457, allocations: 361.9 kB / 2.052 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/8.459, allocations: 451.8 kB / 2.052 GB, free: 30 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/8.461, allocations: 1.188 MB / 2.054 GB, free: 28.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/8.462, allocations: 0.6109 MB / 2.054 GB, free: 27.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/8.463, allocations: 4 kB / 2.054 GB, free: 27.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005684/8.468, allocations: 1.832 MB / 2.056 GB, free: 26.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002202/8.47, allocations: 8.419 MB / 2.064 GB, free: 17.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/8.471, allocations: 19.98 kB / 2.064 GB, free: 17.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/8.471, allocations: 109.7 kB / 2.064 GB, free: 16.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/8.473, allocations: 367.4 kB / 2.065 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/8.474, allocations: 1.175 MB / 2.066 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/8.479, allocations: 247.5 kB / 2.066 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003972/8.48, allocations: 95.91 kB / 2.066 GB, free: 14.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/8.48, allocations: 4 kB / 2.066 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004432/8.484, allocations: 1.54 MB / 2.068 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/8.484, allocations: 16 kB / 2.068 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/8.485, allocations: 110.3 kB / 2.068 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/8.487, allocations: 363.4 kB / 2.068 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009724/8.488, allocations: 1.189 MB / 2.069 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/8.492, allocations: 187.7 kB / 2.069 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/8.493, allocations: 87.98 kB / 2.07 GB, free: 11.43 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.0033/8.496, allocations: 0.6846 MB / 2.07 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/8.498, allocations: 276.5 kB / 2.071 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/8.504, allocations: 1.552 MB / 2.072 GB, free: 8.906 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/8.504, allocations: 19.94 kB / 2.072 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/8.504, allocations: 3.938 kB / 2.072 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002728/8.507, allocations: 1.064 MB / 2.073 GB, free: 7.785 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.01318/8.52, allocations: 3.45 MB / 2.076 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/8.52, allocations: 4 kB / 2.076 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/8.521, allocations: 179.8 kB / 2.077 GB, free: 4.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004995/8.522, allocations: 81.61 kB / 2.077 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/8.522, allocations: 40.08 kB / 2.077 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/8.523, allocations: 1.128 MB / 2.078 GB, free: 2.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/8.523, allocations: 4 kB / 2.078 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005531/8.528, allocations: 2.329 MB / 2.08 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/8.531, allocations: 0.513 MB / 2.081 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/8.532, allocations: 35.77 kB / 2.081 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/8.536, allocations: 119.8 kB / 2.081 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/8.536, allocations: 92.86 kB / 2.081 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/8.536, allocations: 51.95 kB / 2.081 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.007548/8.544, allocations: 1.783 MB / 2.083 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.71e-07/8.544, allocations: 0 / 2.083 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01132/8.555, allocations: 1.54 MB / 2.084 GB, free: 12.12 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.01679/8.572, allocations: 5.366 MB / 2.089 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009509/8.582, allocations: 2.062 MB / 2.091 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-05/8.582, allocations: 4 kB / 2.091 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/8.585, allocations: 0.6162 MB / 2.092 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01234/8.597, allocations: 1.325 MB / 2.093 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8392/9.436, allocations: 20.26 MB / 2.113 GB, free: 96.96 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]