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: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [: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.001039/0.001039, allocations: 201.6 kB / 8.54 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.173/1.173, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000824/0.000824, allocations: 97.22 kB / 286.3 MB, free: 5.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.685e-06, allocations: 0 / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.08799, allocations: 51.46 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.3377, allocations: 82.34 MB / 476.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.338, allocations: 72.53 kB / 477 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02686/0.3648, allocations: 11.64 MB / 488.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.932e-05/0.3649, allocations: 23.98 kB / 488.7 MB, free: 1.547 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.001254/0.3662, allocations: 0.8546 MB / 489.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3662, allocations: 8.25 kB / 489.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.3665, allocations: 98.95 kB / 489.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.3672, allocations: 0.4984 MB / 490.1 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3672, allocations: 24 kB / 490.2 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.3673, allocations: 59.31 kB / 490.2 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008129/0.3682, allocations: 412.4 kB / 490.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3693, allocations: 0.6588 MB / 491.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.3693, allocations: 15.67 kB / 491.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.3694, allocations: 0 / 491.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.3694, allocations: 25.41 kB / 491.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.3726, allocations: 2.756 MB / 494.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.373, allocations: 144.2 kB / 494.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3732, allocations: 83.23 kB / 494.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.3734, allocations: 251 kB / 494.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.3735, allocations: 30.56 kB / 494.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.3735, allocations: 4 kB / 494.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001529/0.375, allocations: 0.7567 MB / 495.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.375, allocations: 55.41 kB / 495.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.3753, allocations: 241.5 kB / 495.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3753, allocations: 25.7 kB / 495.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3755, allocations: 369.7 kB / 496 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.3756, allocations: 123.4 kB / 496.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.3756, allocations: 0 / 496.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3758, allocations: 362 kB / 496.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3759, allocations: 77.25 kB / 496.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3762, allocations: 244.4 kB / 496.8 MB, free: 10.31 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