Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 203.1 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 96.25 kB / 286.3 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 45.15 MB / 383.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2984/0.5068, allocations: 69.35 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.6389, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/1.062, allocations: 93.85 MB / 0.5955 GB, free: 9.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.063, allocations: 67.03 kB / 0.5956 GB, free: 9.043 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.03825/1.101, allocations: 14.53 MB / 0.6098 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.101, allocations: 16 kB / 0.6098 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/1.102, allocations: 110.8 kB / 0.6099 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/1.103, allocations: 0.5445 MB / 0.6104 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/1.103, allocations: 32 kB / 0.6104 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.103, allocations: 55.91 kB / 0.6105 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/1.104, allocations: 434.5 kB / 0.6109 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/1.105, allocations: 0.7341 MB / 0.6116 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/1.105, allocations: 15.34 kB / 0.6116 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/1.105, allocations: 0 / 0.6116 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/1.105, allocations: 24 kB / 0.6117 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/1.11, allocations: 3.498 MB / 0.6151 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/1.11, allocations: 139.3 kB / 0.6152 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/1.11, allocations: 85.97 kB / 0.6153 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/1.111, allocations: 255.3 kB / 0.6155 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.111, allocations: 37.88 kB / 0.6156 GB, free: 7.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/1.111, allocations: 0 / 0.6156 GB, free: 7.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0019/1.113, allocations: 0.791 MB / 0.6163 GB, free: 7.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/1.113, allocations: 55.39 kB / 0.6164 GB, free: 7.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/1.113, allocations: 322 kB / 0.6167 GB, free: 6.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/1.113, allocations: 29.7 kB / 0.6167 GB, free: 6.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/1.114, allocations: 409.2 kB / 0.6171 GB, free: 6.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.114, allocations: 132 kB / 0.6172 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/1.114, allocations: 0 / 0.6172 GB, free: 6.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/1.114, allocations: 360.5 kB / 0.6176 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/1.114, allocations: 85.75 kB / 0.6177 GB, free: 5.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/1.114, allocations: 298.7 kB / 0.618 GB, free: 5.52 MB / 410.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model ModelicaTest.Rotational.GenerationOfFMUs could not be translated to FMU