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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [: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.001684/0.001684, allocations: 178.9 kB / 8.477 MB, free: 1.883 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.203/1.203, 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.0008686/0.0008686, allocations: 82.28 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1691/0.17, allocations: 52.97 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.2425, allocations: 47.58 MB / 362.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.4882, allocations: 81.12 MB / 443.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.4884, allocations: 70.08 kB / 443.8 MB, free: 10.93 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.03269/0.5211, allocations: 14.97 MB / 458.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5212, allocations: 7.531 kB / 458.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.5214, allocations: 107.2 kB / 458.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.5222, allocations: 0.507 MB / 459.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.5222, allocations: 25.91 kB / 459.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5223, allocations: 57.59 kB / 459.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007246/0.5231, allocations: 355.3 kB / 459.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.524, allocations: 0.7033 MB / 460.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.5241, allocations: 12.31 kB / 460.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.5241, allocations: 3.469 kB / 460.6 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.5242, allocations: 22.06 kB / 460.6 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.5272, allocations: 4.279 MB / 464.9 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.5275, allocations: 206.5 kB / 465.1 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.5277, allocations: 125.5 kB / 465.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.5279, allocations: 175.3 kB / 465.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.5279, allocations: 40.56 kB / 465.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/0.5279, allocations: 0 / 465.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of matching and sorting (n=54): time 0.0024/0.5303, allocations: 1.332 MB / 466.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.5304, allocations: 57.28 kB / 466.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.5312, allocations: 431.9 kB / 467.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.5312, allocations: 26.2 kB / 467.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.5315, allocations: 394.6 kB / 467.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.5317, allocations: 200 kB / 467.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.5318, allocations: 4.5 kB / 467.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.532, allocations: 380.5 kB / 468.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.5323, allocations: 127.4 kB / 468.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.5328, allocations: 413.7 kB / 468.7 MB, free: 14.4 MB / 330.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 Error: Internal error SimCode: The model Modelica.Mechanics.Translational.Examples.GenerationOfFMUs could not be translated to FMU