Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.987e-06, allocations: 1.125 kB / 247.4 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06383/0.06391, allocations: 44.36 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.3026, allocations: 81.45 MB / 373.2 MB, free: 6.691 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3029, allocations: 85.56 kB / 373.3 MB, free: 6.676 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08003/0.383, allocations: 21.66 MB / 394.9 MB, free: 14.46 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.259e-05/0.3831, allocations: 19.34 kB / 394.9 MB, free: 14.46 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003245/0.3864, allocations: 1.168 MB / 396.1 MB, free: 13.66 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3866, allocations: 8.625 kB / 396.1 MB, free: 13.66 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003964/0.3906, allocations: 390.3 kB / 396.5 MB, free: 13.51 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3919, allocations: 0.533 MB / 397 MB, free: 13.15 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.392, allocations: 36.69 kB / 397.1 MB, free: 13.15 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.3923, allocations: 58.88 kB / 397.1 MB, free: 13.15 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002185/0.3945, allocations: 0.7872 MB / 397.9 MB, free: 13.09 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.3967, allocations: 0.8304 MB / 398.7 MB, free: 12.85 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.3969, allocations: 9.016 kB / 398.7 MB, free: 12.84 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3971, allocations: 1.25 kB / 398.7 MB, free: 12.84 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.3971, allocations: 24.97 kB / 398.8 MB, free: 12.84 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007908/0.4051, allocations: 3.756 MB / 402.5 MB, free: 10.57 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.4069, allocations: 0.7002 MB / 403.2 MB, free: 10.48 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/0.4079, allocations: 373.8 kB / 403.6 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.4081, allocations: 96.81 kB / 403.7 MB, free: 10.35 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008827/0.4091, allocations: 433.3 kB / 404.1 MB, free: 10.17 MB / 312.6 MB Notification: Performance of pre-optimization done (n=86): time 6.775e-06/0.4092, allocations: 0 / 404.1 MB, free: 10.17 MB / 312.6 MB Notification: Performance of matching and sorting (n=86): time 0.002701/0.4119, allocations: 0.8055 MB / 404.9 MB, free: 9.84 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.4121, allocations: 207.6 kB / 405.1 MB, free: 9.598 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.4127, allocations: 358.1 kB / 405.5 MB, free: 9.324 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/0.4128, allocations: 25.7 kB / 405.5 MB, free: 9.293 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.4131, allocations: 377.1 kB / 405.9 MB, free: 8.953 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.4134, allocations: 266.4 kB / 406.1 MB, free: 8.723 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.4135, allocations: 4 kB / 406.1 MB, free: 8.719 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4137, allocations: 375 kB / 406.5 MB, free: 8.371 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.4143, allocations: 236.3 kB / 406.7 MB, free: 8.238 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.4152, allocations: 480.2 kB / 407.2 MB, free: 7.785 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.4162, allocations: 302.3 kB / 407.5 MB, free: 7.594 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.752e-06/0.4162, allocations: 4 kB / 407.5 MB, free: 7.59 MB / 312.6 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002541/0.4188, allocations: 0.9574 MB / 408.4 MB, free: 6.871 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4189, allocations: 8.188 kB / 408.5 MB, free: 6.863 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.419, allocations: 12 kB / 408.5 MB, free: 6.852 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.4203, allocations: 273.6 kB / 408.7 MB, free: 6.641 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/0.4213, allocations: 170.1 kB / 408.9 MB, free: 6.48 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/0.4274, allocations: 4.06 MB / 413 MB, free: 2.848 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.4286, allocations: 99.09 kB / 413.1 MB, free: 2.75 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.4287, allocations: 35 kB / 413.1 MB, free: 2.723 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.0001472/0.4289, allocations: 79.28 kB / 413.2 MB, free: 2.645 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.4291, allocations: 68.41 kB / 413.2 MB, free: 2.578 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.4319, allocations: 0.8904 MB / 414.1 MB, free: 1.848 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.432, allocations: 8 kB / 414.1 MB, free: 1.84 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.432, allocations: 3.984 kB / 414.1 MB, free: 1.836 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.4321, allocations: 11.92 kB / 414.1 MB, free: 1.824 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.4358, allocations: 1.686 MB / 415.8 MB, free: 104 kB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.451e-06/0.4359, allocations: 0 / 415.8 MB, free: 104 kB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.4368, allocations: 115.8 kB / 415.9 MB, free: 15.99 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.4381, allocations: 265.7 kB / 416.2 MB, free: 15.72 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.821e-05/0.4382, allocations: 4 kB / 416.2 MB, free: 15.72 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006072/0.4444, allocations: 4.058 MB / 420.3 MB, free: 11.44 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-06/0.4445, allocations: 0 / 420.3 MB, free: 11.44 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003089/0.4476, allocations: 1.27 MB / 421.5 MB, free: 10.14 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.4482, allocations: 216 kB / 421.7 MB, free: 9.91 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.4484, allocations: 11.94 kB / 421.8 MB, free: 9.898 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.4492, allocations: 39.97 kB / 421.8 MB, free: 9.859 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.4494, allocations: 52.73 kB / 421.9 MB, free: 9.809 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.4496, allocations: 27.98 kB / 421.9 MB, free: 9.781 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0003866/0.45, allocations: 267.2 kB / 422.1 MB, free: 9.52 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001367/0.4514, allocations: 279.1 kB / 422.4 MB, free: 9.246 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.4517, allocations: 109.3 kB / 422.5 MB, free: 9.141 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.4539, allocations: 0.9413 MB / 423.5 MB, free: 8.184 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.454, allocations: 0 / 423.5 MB, free: 8.184 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4553, allocations: 0.6058 MB / 424.1 MB, free: 7.555 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.4561, allocations: 86.19 kB / 424.1 MB, free: 7.469 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.4623, allocations: 1.661 MB / 425.8 MB, free: 5.797 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009691/0.4634, allocations: 1.056 MB / 426.9 MB, free: 4.711 MB / 328.6 MB Notification: Performance of SimCode: time 2.584e-06/0.4635, allocations: 0 / 426.9 MB, free: 4.711 MB / 328.6 MB Notification: Performance of Templates: time 0.06933/0.5329, allocations: 12.06 MB / 438.9 MB, free: 8.734 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile clang -fPIC -O2 -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_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.o Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:147:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_158(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:147:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_158(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:148:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_159(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:148:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_eqFunction_159(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.c:149:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.o] Error 1