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: 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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 186.2 kB / 8.133 MB, free: 2.195 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.139/1.139, allocations: 221.4 MB / 230 MB, free: 3.102 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.0008669/0.0008671, allocations: 100.5 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.853e-06, allocations: 4 kB / 336.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2282, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3344, allocations: 81.52 MB / 468.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3346, allocations: 71.91 kB / 468.5 MB, free: 5.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02983/0.3645, allocations: 11.55 MB / 480 MB, free: 9.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.623e-05/0.3646, allocations: 27.98 kB / 480.1 MB, free: 9.688 MB / 362.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.001318/0.3659, allocations: 0.8419 MB / 480.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3659, allocations: 12.03 kB / 480.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3661, allocations: 82.97 kB / 481 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.3668, allocations: 0.4981 MB / 481.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.3668, allocations: 35.84 kB / 481.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.3669, allocations: 52 kB / 481.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008071/0.3678, allocations: 411.9 kB / 482 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3688, allocations: 0.6639 MB / 482.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.3689, allocations: 3.906 kB / 482.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.3689, allocations: 4 kB / 482.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.369, allocations: 20 kB / 482.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.3722, allocations: 2.763 MB / 485.4 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.3725, allocations: 141.7 kB / 485.6 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3727, allocations: 88.84 kB / 485.7 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.3729, allocations: 247.3 kB / 485.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.373, allocations: 34.56 kB / 486 MB, free: 3.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.373, allocations: 7.938 kB / 486 MB, free: 3.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001464/0.3744, allocations: 0.7512 MB / 486.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.3745, allocations: 55.41 kB / 486.8 MB, free: 2.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.3748, allocations: 243.7 kB / 487 MB, free: 2.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3748, allocations: 25.7 kB / 487 MB, free: 2.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.375, allocations: 370.5 kB / 487.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.3751, allocations: 126.2 kB / 487.5 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.3751, allocations: 0 / 487.5 MB, free: 1.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3752, allocations: 350.7 kB / 487.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3754, allocations: 85 kB / 487.9 MB, free: 1.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.3757, allocations: 237.4 kB / 488.2 MB, free: 1.113 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