Notification: Performance of loadModel(Modelica): time 1.586/1.586, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.124e-05, allocations: 2.656 kB / 247.4 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0629/0.06299, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.2916, allocations: 73.55 MB / 365.3 MB, free: 6.973 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.2919, allocations: 93.19 kB / 365.4 MB, free: 6.969 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02187/0.3139, allocations: 4.927 MB / 370.3 MB, free: 6.598 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.314, allocations: 3.875 kB / 370.3 MB, free: 6.598 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009557/0.315, allocations: 0.5453 MB / 370.8 MB, free: 6.156 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3152, allocations: 8.578 kB / 370.8 MB, free: 6.156 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.3153, allocations: 27.22 kB / 370.9 MB, free: 6.145 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.3157, allocations: 260.5 kB / 371.1 MB, free: 5.926 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3158, allocations: 12.38 kB / 371.1 MB, free: 5.922 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.3159, allocations: 19.72 kB / 371.2 MB, free: 5.914 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000376/0.3164, allocations: 131.4 kB / 371.3 MB, free: 5.91 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.3168, allocations: 171.6 kB / 371.4 MB, free: 5.863 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3169, allocations: 0 / 371.4 MB, free: 5.863 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.317, allocations: 0.7969 kB / 371.4 MB, free: 5.863 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-06/0.317, allocations: 7.75 kB / 371.5 MB, free: 5.863 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.319, allocations: 0.8512 MB / 372.3 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.3195, allocations: 115 kB / 372.4 MB, free: 5.418 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3197, allocations: 50.8 kB / 372.5 MB, free: 5.41 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3198, allocations: 3.875 kB / 372.5 MB, free: 5.41 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3201, allocations: 128.9 kB / 372.6 MB, free: 5.324 MB / 296.6 MB Notification: Performance of pre-optimization done (n=13): time 3.492e-06/0.3201, allocations: 0 / 372.6 MB, free: 5.324 MB / 296.6 MB Notification: Performance of matching and sorting (n=13): time 0.0008275/0.321, allocations: 209.7 kB / 372.8 MB, free: 5.266 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3211, allocations: 104 kB / 372.9 MB, free: 5.141 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3215, allocations: 218.5 kB / 373.1 MB, free: 5.031 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3216, allocations: 25.7 kB / 373.1 MB, free: 5 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.3217, allocations: 166 kB / 373.3 MB, free: 4.871 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.3218, allocations: 34.39 kB / 373.3 MB, free: 4.848 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.3219, allocations: 0 / 373.3 MB, free: 4.848 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.322, allocations: 335.5 kB / 373.7 MB, free: 20.54 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3222, allocations: 48.45 kB / 373.7 MB, free: 20.53 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3225, allocations: 126.8 kB / 373.8 MB, free: 20.43 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3227, allocations: 62.52 kB / 373.9 MB, free: 20.43 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3228, allocations: 0 / 373.9 MB, free: 20.43 MB / 312.6 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009518/0.3238, allocations: 277.8 kB / 374.2 MB, free: 20.35 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3238, allocations: 7.656 kB / 374.2 MB, free: 20.35 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3239, allocations: 0.6094 kB / 374.2 MB, free: 20.35 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.3246, allocations: 101.3 kB / 374.3 MB, free: 20.34 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.325, allocations: 57.97 kB / 374.3 MB, free: 20.33 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.3272, allocations: 1.509 MB / 375.8 MB, free: 19.02 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.3278, allocations: 58.34 kB / 375.9 MB, free: 19 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3279, allocations: 7.719 kB / 375.9 MB, free: 19 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 9.359e-05/0.328, allocations: 75.28 kB / 376 MB, free: 18.92 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.3281, allocations: 23.22 kB / 376 MB, free: 18.91 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.3282, allocations: 20.27 kB / 376 MB, free: 18.9 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3283, allocations: 3.875 kB / 376 MB, free: 18.9 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.121e-06/0.3284, allocations: 0 / 376 MB, free: 18.9 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-06/0.3284, allocations: 0 / 376 MB, free: 18.9 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3287, allocations: 255.9 kB / 376.3 MB, free: 18.7 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-06/0.3288, allocations: 7.938 kB / 376.3 MB, free: 18.69 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.3291, allocations: 31.39 kB / 376.3 MB, free: 18.68 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/0.3298, allocations: 102.3 kB / 376.4 MB, free: 18.64 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.3299, allocations: 3.984 kB / 376.4 MB, free: 18.64 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.3318, allocations: 1.519 MB / 377.9 MB, free: 17.29 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3318, allocations: 0 / 377.9 MB, free: 17.29 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008257/0.3327, allocations: 243.8 kB / 378.2 MB, free: 17.17 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.3329, allocations: 104.1 kB / 378.3 MB, free: 17.05 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.649e-05/0.333, allocations: 0 / 378.3 MB, free: 17.05 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.3335, allocations: 35.19 kB / 378.3 MB, free: 17.04 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.3336, allocations: 23.06 kB / 378.3 MB, free: 17.03 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.3337, allocations: 3.875 kB / 378.3 MB, free: 17.03 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003425/0.3341, allocations: 166.9 kB / 378.5 MB, free: 16.95 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005935/0.3348, allocations: 62.09 kB / 378.6 MB, free: 16.94 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.479e-05/0.3349, allocations: 77.11 kB / 378.6 MB, free: 16.88 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.3356, allocations: 263.4 kB / 378.9 MB, free: 16.73 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3356, allocations: 3.938 kB / 378.9 MB, free: 16.73 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.336, allocations: 166.4 kB / 379.1 MB, free: 16.62 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3364, allocations: 30.89 kB / 379.1 MB, free: 16.61 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3385, allocations: 473.8 kB / 379.6 MB, free: 16.39 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.3389, allocations: 0.7685 MB / 380.3 MB, free: 15.65 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3389, allocations: 3.75 kB / 380.3 MB, free: 15.65 MB / 312.6 MB Notification: Performance of Templates: time 0.04614/0.3851, allocations: 3.122 MB / 383.4 MB, free: 14.08 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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_Analog_Examples_OpAmps_InvertingSchmittTrigger -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_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.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:171:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:171:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:172:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_38(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:172:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_38(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:173:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_39(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.Analog.Examples.OpAmps.InvertingSchmittTrigger.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.o] Error 1