Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001003/0.001003, allocations: 189.9 kB / 8.483 MB, free: 1.793 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.381/1.381, allocations: 205.2 MB / 214.1 MB, free: 13.85 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.0009912/0.0009913, allocations: 96.3 kB / 262.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.245e-06, allocations: 0 / 315 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3266, allocations: 47.56 MB / 362.5 MB, free: 45.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4418, allocations: 81.13 MB / 443.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4422, allocations: 71.97 kB / 443.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03475/0.4769, allocations: 14.02 MB / 457.8 MB, free: 6.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.783e-05/0.4771, allocations: 31.98 kB / 457.8 MB, free: 6.504 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001538/0.4786, allocations: 0.9068 MB / 458.7 MB, free: 5.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4787, allocations: 15.42 kB / 458.7 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.4789, allocations: 110.7 kB / 458.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/0.4797, allocations: 0.5083 MB / 459.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.4798, allocations: 24 kB / 459.3 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.4799, allocations: 51.91 kB / 459.4 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007713/0.4807, allocations: 351.9 kB / 459.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4818, allocations: 0.7038 MB / 460.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.4818, allocations: 23.84 kB / 460.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.4819, allocations: 0 / 460.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.4819, allocations: 24 kB / 460.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.4857, allocations: 4.28 MB / 464.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.4861, allocations: 206.4 kB / 465 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.4863, allocations: 125.3 kB / 465.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.4866, allocations: 170.5 kB / 465.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4866, allocations: 34.94 kB / 465.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.004e-06/0.4867, allocations: 4 kB / 465.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.002593/0.4893, allocations: 1.34 MB / 466.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4893, allocations: 59.84 kB / 466.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.4898, allocations: 431.4 kB / 467.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4899, allocations: 25.7 kB / 467.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.4902, allocations: 390.4 kB / 467.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.4903, allocations: 201.3 kB / 467.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.4904, allocations: 0 / 467.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4906, allocations: 390.7 kB / 468.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.4908, allocations: 122 kB / 468.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.4912, allocations: 418.1 kB / 468.6 MB, free: 10.96 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