Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_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.000967/0.000967, allocations: 177.2 kB / 8.475 MB, free: 1.82 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.077/1.077, allocations: 205.2 MB / 214.1 MB, free: 5.094 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.0008603/0.0008603, allocations: 85.97 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1628/0.1637, allocations: 52.96 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07154/0.2353, allocations: 47.57 MB / 362.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.4557, allocations: 82.61 MB / 445.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.456, allocations: 72.12 kB / 445.3 MB, free: 10.73 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.03988/0.4959, allocations: 19.39 MB / 464.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4959, allocations: 8.5 kB / 464.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.4961, allocations: 139.1 kB / 464.8 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.497, allocations: 0.6349 MB / 465.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.4971, allocations: 42.25 kB / 465.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.4972, allocations: 72.69 kB / 465.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/0.4982, allocations: 0.5141 MB / 466.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.4997, allocations: 1.045 MB / 467.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.4997, allocations: 6.219 kB / 467.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.4998, allocations: 4.75 kB / 467.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.4998, allocations: 36.78 kB / 467.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005278/0.5051, allocations: 6.677 MB / 473.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.5057, allocations: 233.9 kB / 474.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.506, allocations: 156.8 kB / 474.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.5061, allocations: 89.36 kB / 474.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5061, allocations: 40.56 kB / 474.4 MB, free: 12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 5.099e-06/0.5062, allocations: 3.984 kB / 474.4 MB, free: 12 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005871/0.5067, allocations: 246.5 kB / 474.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.5068, allocations: 88.41 kB / 474.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.5074, allocations: 0.5155 MB / 475.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.5074, allocations: 29.52 kB / 475.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.5078, allocations: 0.5815 MB / 475.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.5078, allocations: 115.5 kB / 475.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.5079, allocations: 0 / 475.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.508, allocations: 385.9 kB / 476.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.5082, allocations: 107.8 kB / 476.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.5087, allocations: 0.5073 MB / 476.9 MB, free: 10.16 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) 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.Electrical.Analog.Examples.GenerationOfFMUs could not be translated to FMU