Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001545/0.001545, allocations: 197 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008675/0.0008675, allocations: 90.94 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.274e-06, allocations: 4 kB / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 51.47 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.396, allocations: 83.05 MB / 477.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3964, allocations: 72.64 kB / 477.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03228/0.4286, allocations: 14.33 MB / 492.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.249e-05/0.4287, allocations: 20 kB / 492.1 MB, free: 14.41 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.001348/0.4301, allocations: 0.9122 MB / 493 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4302, allocations: 12.03 kB / 493 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.4304, allocations: 118.7 kB / 493.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.4312, allocations: 0.5125 MB / 493.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.4313, allocations: 24 kB / 493.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.4314, allocations: 51.91 kB / 493.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006638/0.432, allocations: 358.9 kB / 494 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.433, allocations: 0.7038 MB / 494.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.4331, allocations: 10.44 kB / 494.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.4331, allocations: 4 kB / 494.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.4331, allocations: 31.98 kB / 494.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.4366, allocations: 4.27 MB / 499.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.4369, allocations: 202.6 kB / 499.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4371, allocations: 121.7 kB / 499.4 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4373, allocations: 178.5 kB / 499.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4374, allocations: 42.06 kB / 499.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.164e-06/0.4374, allocations: 0 / 499.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.002344/0.4397, allocations: 1.331 MB / 0.4892 GB, free: 6.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4398, allocations: 59.84 kB / 0.4892 GB, free: 6.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.4403, allocations: 430.9 kB / 0.4897 GB, free: 5.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.4403, allocations: 29.69 kB / 0.4897 GB, free: 5.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.4406, allocations: 392.6 kB / 0.4901 GB, free: 5.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.4407, allocations: 196.2 kB / 0.4902 GB, free: 5.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.4408, allocations: 0 / 0.4902 GB, free: 5.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.441, allocations: 381.8 kB / 0.4906 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4412, allocations: 124.2 kB / 0.4907 GB, free: 4.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.4416, allocations: 419.8 kB / 0.4911 GB, free: 4.305 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