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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009776/0.0009776, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.064/1.064, allocations: 221.4 MB / 229.9 MB, free: 3 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.000818/0.000818, allocations: 100.8 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08585/0.08669, allocations: 55.81 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.255, allocations: 50.4 MB / 387 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07799/0.333, allocations: 82.23 MB / 469.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.3332, allocations: 71.91 kB / 469.3 MB, free: 4.438 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.03347/0.3667, allocations: 15.18 MB / 484.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3667, allocations: 8 kB / 484.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.3669, allocations: 102.8 kB / 484.6 MB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.3676, allocations: 0.5199 MB / 485.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3676, allocations: 28 kB / 485.1 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.3677, allocations: 55.91 kB / 485.2 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006033/0.3683, allocations: 351.9 kB / 485.5 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.3692, allocations: 0.7038 MB / 486.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3692, allocations: 15.83 kB / 486.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.3693, allocations: 4 kB / 486.3 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.3693, allocations: 20 kB / 486.3 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.3723, allocations: 4.272 MB / 490.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.3726, allocations: 212.8 kB / 490.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3728, allocations: 117.6 kB / 490.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.373, allocations: 170.6 kB / 491 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.373, allocations: 46.84 kB / 491.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 1.503e-06/0.373, allocations: 0 / 491.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001996/0.375, allocations: 1.332 MB / 492.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3751, allocations: 59.84 kB / 492.5 MB, free: 12.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.3755, allocations: 439.4 kB / 492.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3755, allocations: 25.7 kB / 492.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3757, allocations: 386.4 kB / 493.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3758, allocations: 201 kB / 493.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.3759, allocations: 3.938 kB / 493.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.376, allocations: 382.8 kB / 493.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3762, allocations: 129.9 kB / 494 MB, free: 10.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.3766, allocations: 418.1 kB / 494.4 MB, free: 10.45 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 Error: Internal error SimCode: The model Modelica.Mechanics.Translational.Examples.GenerationOfFMUs could not be translated to FMU