Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 182 kB / 8.135 MB, free: 2.223 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.137/1.137, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.001001/0.001001, allocations: 94.36 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0961/0.09713, allocations: 55.82 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2981, allocations: 50.38 MB / 387 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08997/0.3881, allocations: 84.03 MB / 471 MB, free: 2.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3884, allocations: 72.55 kB / 471.1 MB, free: 2.668 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.04603/0.4344, allocations: 19.74 MB / 490.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4345, allocations: 16 kB / 490.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.4348, allocations: 142.2 kB / 491 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.4359, allocations: 0.633 MB / 491.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.436, allocations: 40 kB / 491.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4361, allocations: 68 kB / 491.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/0.4374, allocations: 0.5125 MB / 492.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.4392, allocations: 1.049 MB / 493.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.4392, allocations: 11.94 kB / 493.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.4393, allocations: 4 kB / 493.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.4393, allocations: 39.84 kB / 493.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.445, allocations: 6.667 MB / 0.4883 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.4456, allocations: 233.5 kB / 0.4885 GB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.4459, allocations: 153.7 kB / 0.4887 GB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.446, allocations: 89.09 kB / 0.4887 GB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4461, allocations: 38.5 kB / 0.4888 GB, free: 4.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.454e-06/0.4461, allocations: 0 / 0.4888 GB, free: 4.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006358/0.4467, allocations: 252.2 kB / 0.489 GB, free: 4.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4468, allocations: 77.11 kB / 0.4891 GB, free: 4.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.4474, allocations: 0.5311 MB / 0.4896 GB, free: 3.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4475, allocations: 25.7 kB / 0.4896 GB, free: 3.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.4478, allocations: 0.5782 MB / 0.4902 GB, free: 2.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.4479, allocations: 110.5 kB / 0.4903 GB, free: 2.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.4479, allocations: 0 / 0.4903 GB, free: 2.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4481, allocations: 386.7 kB / 0.4907 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4483, allocations: 109.6 kB / 0.4908 GB, free: 2.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.4487, allocations: 0.5084 MB / 0.4913 GB, free: 1.578 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