Notification: Performance of loadModel(Modelica): time 1.627/1.627, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.571e-05, allocations: 1.062 kB / 247.4 MB, free: 4.684 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09108, allocations: 44.37 MB / 291.7 MB, free: 9.258 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.3499, allocations: 81.44 MB / 373.2 MB, free: 6.68 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.3502, allocations: 92.12 kB / 373.3 MB, free: 6.664 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08178/0.4321, allocations: 21.66 MB / 394.9 MB, free: 14.45 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.259e-05/0.4322, allocations: 18.94 kB / 394.9 MB, free: 14.45 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003177/0.4355, allocations: 1.16 MB / 396.1 MB, free: 13.65 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4356, allocations: 9.094 kB / 396.1 MB, free: 13.65 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.4396, allocations: 394.1 kB / 396.5 MB, free: 13.49 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.441, allocations: 0.5325 MB / 397 MB, free: 13.13 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.4411, allocations: 32.44 kB / 397.1 MB, free: 13.13 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.4414, allocations: 66.94 kB / 397.1 MB, free: 13.13 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002182/0.4436, allocations: 0.7813 MB / 397.9 MB, free: 13.08 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.446, allocations: 0.8301 MB / 398.7 MB, free: 12.84 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.4462, allocations: 5.844 kB / 398.7 MB, free: 12.83 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.4464, allocations: 1.156 kB / 398.7 MB, free: 12.83 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.4465, allocations: 29.14 kB / 398.8 MB, free: 12.83 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/0.455, allocations: 3.761 MB / 402.5 MB, free: 10.55 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.4569, allocations: 0.6968 MB / 403.2 MB, free: 10.46 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/0.4579, allocations: 374.1 kB / 403.6 MB, free: 10.43 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.4581, allocations: 96.77 kB / 403.7 MB, free: 10.33 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009366/0.4591, allocations: 427.2 kB / 404.1 MB, free: 10.16 MB / 312.6 MB Notification: Performance of pre-optimization done (n=86): time 7.892e-06/0.4592, allocations: 0 / 404.1 MB, free: 10.16 MB / 312.6 MB Notification: Performance of matching and sorting (n=86): time 0.002639/0.4619, allocations: 0.8162 MB / 404.9 MB, free: 9.84 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.4621, allocations: 196.7 kB / 405.1 MB, free: 9.605 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.4627, allocations: 358 kB / 405.5 MB, free: 9.332 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.4629, allocations: 25.7 kB / 405.5 MB, free: 9.301 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.4633, allocations: 384.5 kB / 405.9 MB, free: 8.957 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.4638, allocations: 264.8 kB / 406.1 MB, free: 8.727 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.4639, allocations: 0 / 406.1 MB, free: 8.727 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4641, allocations: 375.6 kB / 406.5 MB, free: 8.379 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.4647, allocations: 237.4 kB / 406.7 MB, free: 8.242 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.4655, allocations: 481.3 kB / 407.2 MB, free: 7.789 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/0.4665, allocations: 306.7 kB / 407.5 MB, free: 7.594 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.4665, allocations: 8 kB / 407.5 MB, free: 7.586 MB / 312.6 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002886/0.4695, allocations: 0.9488 MB / 408.4 MB, free: 6.875 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4696, allocations: 12.25 kB / 408.5 MB, free: 6.863 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.4697, allocations: 4 kB / 408.5 MB, free: 6.859 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.471, allocations: 275.8 kB / 408.7 MB, free: 6.648 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009809/0.472, allocations: 159.6 kB / 408.9 MB, free: 6.496 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.4786, allocations: 4.204 MB / 413.1 MB, free: 2.742 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4798, allocations: 99.09 kB / 413.2 MB, free: 2.645 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4799, allocations: 40.12 kB / 413.2 MB, free: 2.613 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.0001551/0.4802, allocations: 79.78 kB / 413.3 MB, free: 2.535 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4804, allocations: 67.16 kB / 413.4 MB, free: 2.469 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.4831, allocations: 0.8883 MB / 414.3 MB, free: 1.723 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4832, allocations: 12 kB / 414.3 MB, free: 1.711 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-06/0.4833, allocations: 0 / 414.3 MB, free: 1.711 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.4834, allocations: 3.984 kB / 414.3 MB, free: 1.707 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.4873, allocations: 1.69 MB / 416 MB, free: 15.98 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.962e-06/0.4875, allocations: 0 / 416 MB, free: 15.98 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.4883, allocations: 111.8 kB / 416.1 MB, free: 15.87 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.4898, allocations: 265.5 kB / 416.3 MB, free: 15.61 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.49, allocations: 11.98 kB / 416.3 MB, free: 15.59 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/0.4963, allocations: 4.182 MB / 420.5 MB, free: 11.19 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-06/0.4964, allocations: 0 / 420.5 MB, free: 11.19 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002959/0.4994, allocations: 1.27 MB / 421.8 MB, free: 9.891 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/0.5002, allocations: 216 kB / 422 MB, free: 9.66 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5004, allocations: 7.938 kB / 422 MB, free: 9.652 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.5012, allocations: 43.95 kB / 422.1 MB, free: 9.609 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5015, allocations: 48.7 kB / 422.1 MB, free: 9.562 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.5016, allocations: 24 kB / 422.1 MB, free: 9.539 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0003944/0.5021, allocations: 267.2 kB / 422.4 MB, free: 9.277 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001515/0.5036, allocations: 287.2 kB / 422.7 MB, free: 8.996 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000199/0.5039, allocations: 109.5 kB / 422.8 MB, free: 8.887 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.5061, allocations: 0.9446 MB / 423.7 MB, free: 7.93 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 7.613e-06/0.5062, allocations: 4 kB / 423.7 MB, free: 7.926 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.5077, allocations: 0.6177 MB / 424.3 MB, free: 7.285 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.5086, allocations: 74.3 kB / 424.4 MB, free: 7.211 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.5152, allocations: 1.669 MB / 426.1 MB, free: 5.531 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007622/0.5161, allocations: 1.056 MB / 427.1 MB, free: 4.449 MB / 328.6 MB Notification: Performance of SimCode: time 2.863e-06/0.5162, allocations: 0 / 427.1 MB, free: 4.449 MB / 328.6 MB Notification: Performance of Templates: time 0.05869/0.5749, allocations: 12.1 MB / 439.2 MB, free: 8.43 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