Notification: Performance of loadModel(Modelica): time 1.573/1.573, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.169e-05, allocations: 1.375 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09655, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/0.3453, allocations: 73.56 MB / 365.3 MB, free: 6.863 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.3456, allocations: 85.89 kB / 365.3 MB, free: 6.859 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02128/0.367, allocations: 4.927 MB / 370.3 MB, free: 6.492 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.3671, allocations: 3.969 kB / 370.3 MB, free: 6.492 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008963/0.3681, allocations: 0.5516 MB / 370.8 MB, free: 6.047 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3682, allocations: 8.484 kB / 370.8 MB, free: 6.047 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.3683, allocations: 27.28 kB / 370.9 MB, free: 6.035 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.3687, allocations: 261.8 kB / 371.1 MB, free: 5.816 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3688, allocations: 11.72 kB / 371.1 MB, free: 5.812 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.3689, allocations: 15.53 kB / 371.1 MB, free: 5.809 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003567/0.3693, allocations: 136.8 kB / 371.3 MB, free: 5.801 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.3698, allocations: 163.8 kB / 371.4 MB, free: 5.762 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3698, allocations: 4 kB / 371.4 MB, free: 5.758 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3699, allocations: 0 / 371.4 MB, free: 5.758 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.37, allocations: 12.48 kB / 371.5 MB, free: 5.754 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.3719, allocations: 0.8457 MB / 372.3 MB, free: 5.336 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.3723, allocations: 124.4 kB / 372.4 MB, free: 5.305 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3725, allocations: 49.55 kB / 372.5 MB, free: 5.297 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3726, allocations: 3.875 kB / 372.5 MB, free: 5.297 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.3728, allocations: 118.3 kB / 372.6 MB, free: 5.219 MB / 296.6 MB Notification: Performance of pre-optimization done (n=13): time 3.422e-06/0.3729, allocations: 4 kB / 372.6 MB, free: 5.215 MB / 296.6 MB Notification: Performance of matching and sorting (n=13): time 0.0007822/0.3737, allocations: 203 kB / 372.8 MB, free: 5.156 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3738, allocations: 111.4 kB / 372.9 MB, free: 5.031 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.3742, allocations: 220 kB / 373.1 MB, free: 4.922 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3743, allocations: 25.7 kB / 373.1 MB, free: 4.891 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.3744, allocations: 157.8 kB / 373.3 MB, free: 4.762 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.009e-05/0.3745, allocations: 46.11 kB / 373.3 MB, free: 4.734 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.3746, allocations: 0 / 373.3 MB, free: 4.734 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.3747, allocations: 330.6 kB / 373.7 MB, free: 20.42 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3749, allocations: 52.64 kB / 373.7 MB, free: 20.42 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3751, allocations: 122.5 kB / 373.8 MB, free: 20.32 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3753, allocations: 61.73 kB / 373.9 MB, free: 20.32 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.12e-06/0.3754, allocations: 0 / 373.9 MB, free: 20.32 MB / 312.6 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008769/0.3763, allocations: 282.8 kB / 374.2 MB, free: 20.24 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3764, allocations: 3.875 kB / 374.2 MB, free: 20.24 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3765, allocations: 3.875 kB / 374.2 MB, free: 20.24 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.3771, allocations: 103.3 kB / 374.3 MB, free: 20.23 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.3775, allocations: 50.91 kB / 374.3 MB, free: 20.22 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.3795, allocations: 1.51 MB / 375.8 MB, free: 18.93 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.3801, allocations: 54.44 kB / 375.9 MB, free: 18.9 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3802, allocations: 10.97 kB / 375.9 MB, free: 18.9 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.3804, allocations: 79.12 kB / 376 MB, free: 18.82 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3805, allocations: 23.38 kB / 376 MB, free: 18.81 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.3806, allocations: 24.33 kB / 376 MB, free: 18.8 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-06/0.3806, allocations: 0 / 376 MB, free: 18.8 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-06/0.3807, allocations: 3.906 kB / 376 MB, free: 18.8 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-06/0.3808, allocations: 0 / 376 MB, free: 18.8 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3811, allocations: 249 kB / 376.3 MB, free: 18.6 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.216e-06/0.3812, allocations: 0 / 376.3 MB, free: 18.6 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3815, allocations: 38.66 kB / 376.3 MB, free: 18.59 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.3821, allocations: 105.6 kB / 376.4 MB, free: 18.55 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3822, allocations: 0 / 376.4 MB, free: 18.55 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.3842, allocations: 1.52 MB / 377.9 MB, free: 17.19 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.937e-06/0.3843, allocations: 3.906 kB / 377.9 MB, free: 17.19 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007737/0.3851, allocations: 234.3 kB / 378.2 MB, free: 17.07 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.3852, allocations: 104.5 kB / 378.3 MB, free: 16.96 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.3854, allocations: 0 / 378.3 MB, free: 16.96 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.3858, allocations: 35.22 kB / 378.3 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.386, allocations: 18.56 kB / 378.3 MB, free: 16.94 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.386, allocations: 6.812 kB / 378.3 MB, free: 16.94 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001861/0.3863, allocations: 168.8 kB / 378.5 MB, free: 16.85 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005951/0.3869, allocations: 66.28 kB / 378.6 MB, free: 16.84 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.473e-05/0.3871, allocations: 72.95 kB / 378.6 MB, free: 16.78 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.3877, allocations: 263.6 kB / 378.9 MB, free: 16.63 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.772e-06/0.3878, allocations: 0 / 378.9 MB, free: 16.63 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.3881, allocations: 178.8 kB / 379.1 MB, free: 16.51 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3885, allocations: 31.11 kB / 379.1 MB, free: 16.5 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3906, allocations: 462.2 kB / 379.5 MB, free: 16.29 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.3909, allocations: 0.7768 MB / 380.3 MB, free: 15.55 MB / 312.6 MB Notification: Performance of SimCode: time 2.025e-06/0.391, allocations: 0 / 380.3 MB, free: 15.55 MB / 312.6 MB Notification: Performance of Templates: time 0.03734/0.4284, allocations: 3.115 MB / 383.4 MB, free: 13.99 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:171:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:171:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:172:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_38(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:172:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_eqFunction_38(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.c:173:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.o] Error 1