Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00121/0.00121, allocations: 198.6 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.144/1.144, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009551/0.0009551, allocations: 91.95 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09771/0.09869, allocations: 56.91 MB / 343.2 MB, free: 8.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.1812, allocations: 51.47 MB / 394.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.3931, allocations: 84.84 MB / 479.5 MB, free: 8.293 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.3933, allocations: 70.53 kB / 479.6 MB, free: 8.258 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.04001/0.4333, allocations: 19.8 MB / 499.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.4333, allocations: 12 kB / 499.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.4337, allocations: 166.3 kB / 499.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.4346, allocations: 0.6331 MB / 0.4885 GB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.4346, allocations: 36 kB / 0.4885 GB, free: 7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4347, allocations: 76 kB / 0.4886 GB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009089/0.4356, allocations: 0.5107 MB / 0.4891 GB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.4371, allocations: 1.049 MB / 0.4901 GB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.4371, allocations: 7.938 kB / 0.4901 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.4372, allocations: 9.688 kB / 0.4901 GB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.4372, allocations: 35.83 kB / 0.4902 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.4424, allocations: 6.679 MB / 0.4967 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.4428, allocations: 227.4 kB / 0.4969 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.4431, allocations: 158.3 kB / 0.4971 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.4432, allocations: 85.09 kB / 0.4972 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4433, allocations: 45.31 kB / 0.4972 GB, free: 14.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/0.4433, allocations: 2.625 kB / 0.4972 GB, free: 14.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005232/0.4438, allocations: 253.8 kB / 0.4974 GB, free: 14.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4439, allocations: 77.11 kB / 0.4975 GB, free: 14.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.4444, allocations: 0.5158 MB / 0.498 GB, free: 14.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.4444, allocations: 29.7 kB / 0.498 GB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.4447, allocations: 0.5837 MB / 0.4986 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.4448, allocations: 107.7 kB / 0.4987 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.4448, allocations: 4 kB / 0.4987 GB, free: 13.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.445, allocations: 388.5 kB / 0.4991 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.4452, allocations: 106.7 kB / 0.4992 GB, free: 13.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.4456, allocations: 0.5044 MB / 0.4997 GB, free: 12.39 MB / 378.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