Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001034/0.001034, allocations: 176.1 kB / 8.478 MB, free: 1.891 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.523/1.523, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009779/0.0009781, allocations: 91.25 kB / 262.1 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.107e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 47.57 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4355, allocations: 80.73 MB / 443.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4358, allocations: 75.84 kB / 443.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02652/0.4623, allocations: 11.31 MB / 454.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.4624, allocations: 19.41 kB / 454.7 MB, free: 7.406 MB / 314.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.00114/0.4636, allocations: 0.8489 MB / 455.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4636, allocations: 11.67 kB / 455.5 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.4638, allocations: 85.41 kB / 455.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.4645, allocations: 0.5025 MB / 456.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.4645, allocations: 31.31 kB / 456.1 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4646, allocations: 50.75 kB / 456.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007504/0.4654, allocations: 417 kB / 456.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.4663, allocations: 0.6603 MB / 457.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.4664, allocations: 3.688 kB / 457.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.4664, allocations: 3.938 kB / 457.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4665, allocations: 22.59 kB / 457.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.4691, allocations: 2.753 MB / 460 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.4695, allocations: 155 kB / 460.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4697, allocations: 92.81 kB / 460.3 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.4699, allocations: 245.8 kB / 460.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4699, allocations: 40.41 kB / 460.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/0.4699, allocations: 0 / 460.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001573/0.4715, allocations: 0.7592 MB / 461.3 MB, free: 3.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.4715, allocations: 59.23 kB / 461.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.4719, allocations: 241.1 kB / 461.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4719, allocations: 25.7 kB / 461.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4721, allocations: 373.7 kB / 462 MB, free: 2.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.4721, allocations: 125.5 kB / 462.1 MB, free: 2.836 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.4722, allocations: 0 / 462.1 MB, free: 2.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.4722, allocations: 352.6 kB / 462.5 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4724, allocations: 80.78 kB / 462.6 MB, free: 2.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4726, allocations: 243.2 kB / 462.8 MB, free: 2.309 MB / 314.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