Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_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.001098/0.001098, allocations: 202.7 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.179/1.179, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009158/0.0009159, allocations: 91.31 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1019/0.1029, allocations: 56.9 MB / 343.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.1937, allocations: 51.48 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2204/0.4142, allocations: 83.05 MB / 477.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.4144, allocations: 73.89 kB / 477.8 MB, free: 9.793 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.03256/0.447, allocations: 15.27 MB / 493.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.447, allocations: 12 kB / 493.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.4473, allocations: 122.7 kB / 493.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.4481, allocations: 0.5094 MB / 493.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.4482, allocations: 24 kB / 493.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.4483, allocations: 51.91 kB / 493.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006535/0.449, allocations: 354.2 kB / 494.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.4499, allocations: 0.7034 MB / 494.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.4499, allocations: 15.84 kB / 494.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.45, allocations: 0 / 494.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.45, allocations: 25.41 kB / 494.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.4535, allocations: 4.278 MB / 499.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.4538, allocations: 200.3 kB / 499.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.4539, allocations: 123.9 kB / 499.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.4541, allocations: 174.5 kB / 499.7 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4542, allocations: 34.62 kB / 499.7 MB, free: 7.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.714e-06/0.4542, allocations: 4 kB / 499.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.002209/0.4564, allocations: 1.336 MB / 0.4893 GB, free: 6.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4564, allocations: 59.84 kB / 0.4894 GB, free: 6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.4569, allocations: 426.2 kB / 0.4898 GB, free: 5.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4569, allocations: 25.7 kB / 0.4898 GB, free: 5.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.4572, allocations: 398.7 kB / 0.4902 GB, free: 5.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4573, allocations: 196.3 kB / 0.4903 GB, free: 5.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.4574, allocations: 4 kB / 0.4904 GB, free: 5.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4575, allocations: 377.9 kB / 0.4907 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.4578, allocations: 123.6 kB / 0.4908 GB, free: 4.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.4581, allocations: 424.7 kB / 0.4912 GB, free: 4.211 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.Translational.Examples.GenerationOfFMUs could not be translated to FMU