Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.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) 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(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00108/0.00108, allocations: 199.3 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009139/0.0009137, allocations: 99.33 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1078/0.1088, allocations: 56.9 MB / 343.2 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.2318, allocations: 51.47 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.5682, allocations: 82.35 MB / 477 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.5684, allocations: 74.36 kB / 477.1 MB, free: 10.36 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.02722/0.5956, allocations: 12.52 MB / 489.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.5957, allocations: 8 kB / 489.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.5959, allocations: 94.97 kB / 489.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.5966, allocations: 0.497 MB / 490.2 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.5966, allocations: 28 kB / 490.3 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.5967, allocations: 55.8 kB / 490.3 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007966/0.5975, allocations: 417.4 kB / 490.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5985, allocations: 0.664 MB / 491.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.5986, allocations: 4 kB / 491.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.5986, allocations: 0 / 491.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5986, allocations: 20 kB / 491.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.6016, allocations: 2.764 MB / 494.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.6019, allocations: 140.6 kB / 494.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.602, allocations: 91.25 kB / 494.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.6022, allocations: 251.2 kB / 494.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.6023, allocations: 38.25 kB / 494.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.6023, allocations: 0 / 494.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001419/0.6037, allocations: 0.7445 MB / 495.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.6038, allocations: 55.41 kB / 495.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.604, allocations: 251.1 kB / 495.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.604, allocations: 25.7 kB / 495.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.6042, allocations: 366.9 kB / 496.1 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.6043, allocations: 123.5 kB / 496.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.6043, allocations: 0 / 496.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6045, allocations: 360.8 kB / 496.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6046, allocations: 80.94 kB / 496.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.6049, allocations: 238.4 kB / 496.9 MB, free: 10.25 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