Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.172/1.172, allocations: 221.4 MB / 229.9 MB, free: 3.254 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.00088/0.00088, allocations: 105.2 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.851e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1943, allocations: 50.4 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0873/0.2816, allocations: 82.23 MB / 469.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/0.2818, allocations: 68.56 kB / 469.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03554/0.3174, allocations: 14.25 MB / 483.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.3174, allocations: 23.98 kB / 483.5 MB, free: 6.012 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001253/0.3187, allocations: 0.9079 MB / 484.4 MB, free: 5.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3187, allocations: 8.031 kB / 484.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.3189, allocations: 102.8 kB / 484.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.3197, allocations: 0.5121 MB / 485 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3197, allocations: 28 kB / 485 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.3198, allocations: 47.91 kB / 485.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006994/0.3205, allocations: 359.9 kB / 485.4 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3215, allocations: 0.7038 MB / 486.1 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.3216, allocations: 11.84 kB / 486.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.3216, allocations: 4 kB / 486.2 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.3216, allocations: 20 kB / 486.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.3252, allocations: 4.28 MB / 490.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.3256, allocations: 208.8 kB / 490.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3258, allocations: 125.5 kB / 490.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.326, allocations: 162.6 kB / 490.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.326, allocations: 42.84 kB / 491 MB, free: 14.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.326, allocations: 0 / 491 MB, free: 14.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.0024/0.3284, allocations: 1.339 MB / 492.3 MB, free: 12.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3285, allocations: 55.84 kB / 492.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.329, allocations: 431.4 kB / 492.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.329, allocations: 25.7 kB / 492.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3292, allocations: 394.4 kB / 493.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.3294, allocations: 201.1 kB / 493.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.3294, allocations: 0 / 493.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3296, allocations: 378.8 kB / 493.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3298, allocations: 130 kB / 493.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.3302, allocations: 422 kB / 494.3 MB, free: 10.48 MB / 378.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