Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001726/0.001727, allocations: 175 kB / 8.52 MB, free: 1.84 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.33/1.33, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.001133/0.001134, allocations: 89.92 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2592/0.4811, allocations: 68.02 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.6088, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.9646, allocations: 92.78 MB / 0.5848 GB, free: 3.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.9648, allocations: 63.97 kB / 0.5848 GB, free: 3.91 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.03351/0.9983, allocations: 14.43 MB / 0.5989 GB, free: 5.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9984, allocations: 15.88 kB / 0.5989 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.9987, allocations: 98.78 kB / 0.599 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.9996, allocations: 0.5398 MB / 0.5996 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.9996, allocations: 32 kB / 0.5996 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.9998, allocations: 59.91 kB / 0.5997 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009262/1.001, allocations: 431.9 kB / 0.6001 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.002, allocations: 0.737 MB / 0.6008 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.002, allocations: 11.84 kB / 0.6008 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/1.002, allocations: 0 / 0.6008 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/1.002, allocations: 24 kB / 0.6008 GB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/1.006, allocations: 3.487 MB / 0.6042 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/1.006, allocations: 141.7 kB / 0.6044 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/1.006, allocations: 94.53 kB / 0.6044 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/1.006, allocations: 251.3 kB / 0.6047 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/1.006, allocations: 46.5 kB / 0.6047 GB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/1.006, allocations: 0 / 0.6047 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00163/1.008, allocations: 0.7882 MB / 0.6055 GB, free: 14.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/1.008, allocations: 51.41 kB / 0.6056 GB, free: 14.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/1.008, allocations: 329 kB / 0.6059 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/1.008, allocations: 29.7 kB / 0.6059 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.009, allocations: 410.1 kB / 0.6063 GB, free: 13.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/1.009, allocations: 122.2 kB / 0.6064 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/1.009, allocations: 0 / 0.6064 GB, free: 13.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/1.009, allocations: 362.8 kB / 0.6067 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/1.009, allocations: 89.3 kB / 0.6068 GB, free: 12.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/1.009, allocations: 291.8 kB / 0.6071 GB, free: 12.45 MB / 426.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