Notification: Performance of loadModel(Modelica): time 1.525/1.525, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.94e-06/9.009e-06, allocations: 1.125 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06798/0.06806, allocations: 44.36 MB / 291.7 MB, free: 9.258 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.3001, allocations: 81.44 MB / 373.2 MB, free: 6.848 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3004, allocations: 89 kB / 373.3 MB, free: 6.832 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08263/0.3831, allocations: 21.67 MB / 394.9 MB, free: 14.63 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.811e-05/0.3833, allocations: 18.91 kB / 394.9 MB, free: 14.63 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003609/0.387, allocations: 1.164 MB / 396.1 MB, free: 13.83 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.3871, allocations: 12.83 kB / 396.1 MB, free: 13.83 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.3912, allocations: 388.1 kB / 396.5 MB, free: 13.68 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3926, allocations: 0.5293 MB / 397 MB, free: 13.32 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.3927, allocations: 36.28 kB / 397.1 MB, free: 13.32 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.393, allocations: 59.75 kB / 397.1 MB, free: 13.32 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002244/0.3953, allocations: 0.7869 MB / 397.9 MB, free: 13.27 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.3975, allocations: 0.8294 MB / 398.7 MB, free: 13.03 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.63e-05/0.3977, allocations: 8.938 kB / 398.7 MB, free: 13.02 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.3979, allocations: 6.062 kB / 398.7 MB, free: 13.02 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.3979, allocations: 24.88 kB / 398.8 MB, free: 13.02 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008807/0.4068, allocations: 3.764 MB / 402.5 MB, free: 10.73 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.4087, allocations: 0.6893 MB / 403.2 MB, free: 10.66 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009625/0.4098, allocations: 373.8 kB / 403.6 MB, free: 10.62 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.41, allocations: 106 kB / 403.7 MB, free: 10.51 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.4111, allocations: 424 kB / 404.1 MB, free: 10.34 MB / 312.6 MB Notification: Performance of pre-optimization done (n=86): time 9.568e-06/0.4112, allocations: 3.938 kB / 404.1 MB, free: 10.34 MB / 312.6 MB Notification: Performance of matching and sorting (n=86): time 0.002744/0.414, allocations: 0.8186 MB / 404.9 MB, free: 9.867 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.4142, allocations: 188.7 kB / 405.1 MB, free: 9.641 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005856/0.4149, allocations: 360.5 kB / 405.5 MB, free: 9.363 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.4151, allocations: 32.88 kB / 405.5 MB, free: 9.328 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.4154, allocations: 375.4 kB / 405.9 MB, free: 8.992 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.4157, allocations: 272.4 kB / 406.1 MB, free: 8.75 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.4159, allocations: 0 / 406.1 MB, free: 8.75 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.416, allocations: 376.1 kB / 406.5 MB, free: 8.402 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.4166, allocations: 229.1 kB / 406.7 MB, free: 8.273 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008674/0.4176, allocations: 485.7 kB / 407.2 MB, free: 7.816 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/0.4185, allocations: 308.8 kB / 407.5 MB, free: 7.617 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.45e-06/0.4186, allocations: 4 kB / 407.5 MB, free: 7.613 MB / 312.6 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002624/0.4213, allocations: 0.9532 MB / 408.5 MB, free: 6.898 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4214, allocations: 7.984 kB / 408.5 MB, free: 6.891 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4215, allocations: 8 kB / 408.5 MB, free: 6.883 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4227, allocations: 273.5 kB / 408.7 MB, free: 6.676 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.4238, allocations: 163.1 kB / 408.9 MB, free: 6.52 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.4302, allocations: 4.193 MB / 413.1 MB, free: 2.777 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.4313, allocations: 99.09 kB / 413.2 MB, free: 2.68 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.4315, allocations: 39.05 kB / 413.2 MB, free: 2.648 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.4318, allocations: 79.78 kB / 413.3 MB, free: 2.57 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.432, allocations: 72.03 kB / 413.4 MB, free: 2.5 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.4347, allocations: 0.8811 MB / 414.3 MB, free: 1.711 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.4348, allocations: 11.94 kB / 414.3 MB, free: 1.699 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.355e-06/0.4349, allocations: 4 kB / 414.3 MB, free: 1.695 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4349, allocations: 7.984 kB / 414.3 MB, free: 1.688 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.4388, allocations: 1.685 MB / 416 MB, free: 15.97 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.939e-06/0.4389, allocations: 8 kB / 416 MB, free: 15.96 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.4398, allocations: 103.9 kB / 416.1 MB, free: 15.86 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.4411, allocations: 265.5 kB / 416.3 MB, free: 15.59 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4413, allocations: 8 kB / 416.3 MB, free: 15.59 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/0.4479, allocations: 4.186 MB / 420.5 MB, free: 11.18 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.635e-06/0.448, allocations: 4.188 kB / 420.5 MB, free: 11.17 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003115/0.4511, allocations: 1.274 MB / 421.8 MB, free: 9.871 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.4517, allocations: 212 kB / 422 MB, free: 9.645 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.452, allocations: 11.98 kB / 422 MB, free: 9.633 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/0.4529, allocations: 39.97 kB / 422.1 MB, free: 9.594 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4531, allocations: 52.7 kB / 422.1 MB, free: 9.543 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.4532, allocations: 23.98 kB / 422.1 MB, free: 9.52 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0003821/0.4537, allocations: 267.2 kB / 422.4 MB, free: 9.258 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001598/0.4553, allocations: 287.2 kB / 422.7 MB, free: 8.977 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.4557, allocations: 105.5 kB / 422.8 MB, free: 8.871 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.4582, allocations: 0.9433 MB / 423.7 MB, free: 7.914 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 9.079e-06/0.4583, allocations: 0 / 423.7 MB, free: 7.914 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.4599, allocations: 0.6186 MB / 424.3 MB, free: 7.273 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.4608, allocations: 78.2 kB / 424.4 MB, free: 7.195 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.4673, allocations: 1.671 MB / 426.1 MB, free: 5.516 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000982/0.4684, allocations: 1.056 MB / 427.1 MB, free: 4.434 MB / 328.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4685, allocations: 0 / 427.1 MB, free: 4.434 MB / 328.6 MB Notification: Performance of Templates: time 0.06744/0.536, allocations: 12.11 MB / 439.3 MB, free: 8.406 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.o Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:147:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_158(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:147:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_158(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:148:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_159(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:148:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_159(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:149:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_160(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.o] Error 1