Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.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.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.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.002855/0.002855, allocations: 186 kB / 8.149 MB, free: 0.8398 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.2 MB / 213.7 MB, free: 8.586 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 85.03 kB / 261.7 MB, free: 5.164 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.647e-06, allocations: 0 / 314.3 MB, free: 2.434 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 47.57 MB / 361.8 MB, free: 2.75 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.4148, allocations: 81.12 MB / 443 MB, free: 6.695 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4152, allocations: 70.03 kB / 443 MB, free: 6.66 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.05434/0.4695, allocations: 14.03 MB / 457.1 MB, free: 11.24 MB / 338.8 MB Notification: Performance of Transformations before backend: time 9.252e-05/0.4697, allocations: 27.98 kB / 457.1 MB, free: 11.21 MB / 338.8 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.002202/0.4719, allocations: 0.9073 MB / 458 MB, free: 10.32 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.472, allocations: 8.031 kB / 458 MB, free: 10.32 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.4723, allocations: 106.7 kB / 458.1 MB, free: 10.21 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.4737, allocations: 0.5072 MB / 458.6 MB, free: 9.734 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.4738, allocations: 24 kB / 458.6 MB, free: 9.711 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.4739, allocations: 54.09 kB / 458.7 MB, free: 9.66 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00129/0.4752, allocations: 354.4 kB / 459 MB, free: 9.434 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.4768, allocations: 0.7011 MB / 459.7 MB, free: 8.762 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.635e-05/0.4769, allocations: 14.41 kB / 459.7 MB, free: 8.75 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.477, allocations: 4 kB / 459.7 MB, free: 8.746 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.4771, allocations: 29.52 kB / 459.8 MB, free: 8.719 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006083/0.4832, allocations: 4.285 MB / 464.1 MB, free: 4.668 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.4838, allocations: 203.2 kB / 464.3 MB, free: 4.516 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.4841, allocations: 125.3 kB / 464.4 MB, free: 4.391 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.4844, allocations: 178.5 kB / 464.6 MB, free: 4.18 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4845, allocations: 30.94 kB / 464.6 MB, free: 4.141 MB / 338.8 MB Notification: Performance of pre-optimization done (n=46): time 3.136e-06/0.4845, allocations: 4 kB / 464.6 MB, free: 4.137 MB / 338.8 MB Notification: Performance of matching and sorting (n=54): time 0.003824/0.4883, allocations: 1.334 MB / 465.9 MB, free: 2.715 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4884, allocations: 63.78 kB / 466 MB, free: 2.641 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.4892, allocations: 435.4 kB / 466.4 MB, free: 2.211 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.4893, allocations: 33.69 kB / 466.4 MB, free: 2.172 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.4896, allocations: 416.9 kB / 466.9 MB, free: 1.758 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.4899, allocations: 201 kB / 467 MB, free: 1.559 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.4899, allocations: 3.938 kB / 467.1 MB, free: 1.555 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4901, allocations: 338.8 kB / 467.4 MB, free: 1.215 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.4905, allocations: 126 kB / 467.5 MB, free: 1.09 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.4912, allocations: 417.4 kB / 467.9 MB, free: 0.5547 MB / 338.8 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated