Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_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 3.2.3+maint.om/package.mo): time 0.00176/0.00176, allocations: 180 kB / 8.477 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.2 MB / 214.1 MB, free: 5.184 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 94.22 kB / 262.1 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1809/0.1819, allocations: 52.96 MB / 315.1 MB, free: 41.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.2623, allocations: 47.57 MB / 362.6 MB, free: 9.902 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.5019, allocations: 80.73 MB / 443.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.5021, allocations: 73.7 kB / 443.4 MB, free: 10.73 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.02664/0.5288, allocations: 12.18 MB / 455.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5288, allocations: 15.48 kB / 455.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.529, allocations: 85.12 kB / 455.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.5296, allocations: 0.4935 MB / 456.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.5297, allocations: 26.91 kB / 456.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.5297, allocations: 53.38 kB / 456.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006852/0.5304, allocations: 419.5 kB / 456.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.5314, allocations: 0.6601 MB / 457.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.5314, allocations: 2.625 kB / 457.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.5315, allocations: 1.281 kB / 457.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.5315, allocations: 21.75 kB / 457.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.5343, allocations: 2.759 MB / 460.1 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.5347, allocations: 153.4 kB / 460.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.5349, allocations: 88.06 kB / 460.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.5351, allocations: 248.3 kB / 460.6 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5352, allocations: 38.69 kB / 460.7 MB, free: 3.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.046e-06/0.5352, allocations: 1.375 kB / 460.7 MB, free: 3.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001428/0.5366, allocations: 0.7605 MB / 461.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.5366, allocations: 59.2 kB / 461.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.5369, allocations: 245.6 kB / 461.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5369, allocations: 25.7 kB / 461.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.5371, allocations: 368.8 kB / 462.1 MB, free: 2.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.5372, allocations: 126.6 kB / 462.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5372, allocations: 0 / 462.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5373, allocations: 348.3 kB / 462.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.5375, allocations: 86.06 kB / 462.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.5378, allocations: 242.9 kB / 462.9 MB, free: 2.359 MB / 314.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 Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs could not be translated to FMU