Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.002391/0.002391, allocations: 176.2 kB / 8.151 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.2 MB / 213.8 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 83.62 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.146e-05, allocations: 4 kB / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2497, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.3761, allocations: 80.74 MB / 442.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.3764, allocations: 70.83 kB / 442.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04755/0.424, allocations: 11.31 MB / 454 MB, free: 10.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.838e-05/0.4241, allocations: 20 kB / 454 MB, free: 10.01 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.002098/0.4262, allocations: 0.8534 MB / 454.8 MB, free: 9.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4263, allocations: 8.031 kB / 454.8 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.4266, allocations: 86.97 kB / 454.9 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.4279, allocations: 0.4942 MB / 455.4 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.428, allocations: 35.94 kB / 455.4 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.4282, allocations: 51.98 kB / 455.5 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/0.4297, allocations: 415.9 kB / 455.9 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4318, allocations: 0.6639 MB / 456.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/0.432, allocations: 7.938 kB / 456.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.432, allocations: 0 / 456.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.4321, allocations: 20 kB / 456.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/0.4379, allocations: 2.755 MB / 459.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.4386, allocations: 149.7 kB / 459.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.439, allocations: 86.02 kB / 459.6 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/0.4394, allocations: 251.3 kB / 459.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4395, allocations: 34.55 kB / 459.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.085e-06/0.4395, allocations: 4 kB / 459.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002482/0.442, allocations: 0.7545 MB / 460.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4421, allocations: 60.81 kB / 460.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.4426, allocations: 243.8 kB / 460.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4426, allocations: 29.7 kB / 460.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.4429, allocations: 417.1 kB / 461.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.443, allocations: 126.2 kB / 461.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.4431, allocations: 0 / 461.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4433, allocations: 330.7 kB / 461.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.4436, allocations: 85 kB / 461.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.444, allocations: 243.7 kB / 462.1 MB, free: 1.391 MB / 346.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