Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 182.3 kB / 8.131 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.049/1.049, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 103.5 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0862/0.0871, allocations: 55.82 MB / 336.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.2531, allocations: 50.39 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08286/0.3359, allocations: 81.53 MB / 468.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.3362, allocations: 63.97 kB / 468.6 MB, free: 5.211 MB / 346.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.03072/0.3669, allocations: 12.43 MB / 481 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3669, allocations: 8 kB / 481 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3671, allocations: 90.97 kB / 481.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.3678, allocations: 0.4942 MB / 481.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.3679, allocations: 31.91 kB / 481.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.368, allocations: 48 kB / 481.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008059/0.3688, allocations: 419.9 kB / 482.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.3699, allocations: 0.6562 MB / 482.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.3699, allocations: 8.938 kB / 482.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.37, allocations: 0 / 482.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.37, allocations: 27.94 kB / 482.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.3733, allocations: 2.751 MB / 485.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.3737, allocations: 144.6 kB / 485.7 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3738, allocations: 96.83 kB / 485.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.374, allocations: 243.3 kB / 486 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3741, allocations: 35.22 kB / 486 MB, free: 3.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.3741, allocations: 0 / 486 MB, free: 3.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001515/0.3756, allocations: 0.7601 MB / 486.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.3757, allocations: 55.41 kB / 486.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.3759, allocations: 239.8 kB / 487.1 MB, free: 2.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.376, allocations: 25.7 kB / 487.1 MB, free: 2.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.3762, allocations: 370.5 kB / 487.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3763, allocations: 122.2 kB / 487.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.3763, allocations: 0 / 487.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3765, allocations: 358.7 kB / 487.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3766, allocations: 81 kB / 488 MB, free: 1.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3769, allocations: 241.3 kB / 488.3 MB, free: 1.125 MB / 362.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