Notification: Performance of loadModel(Modelica): time 1.515/1.515, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.638e-06, allocations: 1.469 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06836/0.06844, allocations: 44.36 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.2932, allocations: 73.56 MB / 365.3 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.2936, allocations: 88.08 kB / 365.4 MB, free: 6.996 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02152/0.3152, allocations: 4.915 MB / 370.3 MB, free: 6.629 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.3153, allocations: 7.875 kB / 370.3 MB, free: 6.629 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.000901/0.3163, allocations: 0.5513 MB / 370.8 MB, free: 6.18 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3164, allocations: 7.75 kB / 370.8 MB, free: 6.18 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.3165, allocations: 27.73 kB / 370.9 MB, free: 6.168 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.317, allocations: 262.9 kB / 371.1 MB, free: 5.949 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.317, allocations: 8.422 kB / 371.1 MB, free: 5.945 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.3171, allocations: 15.38 kB / 371.1 MB, free: 5.941 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000355/0.3176, allocations: 140.6 kB / 371.3 MB, free: 5.934 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.318, allocations: 154.1 kB / 371.4 MB, free: 5.898 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3181, allocations: 12.48 kB / 371.4 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.3182, allocations: 0 / 371.4 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.009e-06/0.3182, allocations: 3.906 kB / 371.4 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3201, allocations: 0.8516 MB / 372.3 MB, free: 5.473 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3206, allocations: 117.6 kB / 372.4 MB, free: 5.445 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3208, allocations: 57.42 kB / 372.5 MB, free: 5.434 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.3209, allocations: 7.766 kB / 372.5 MB, free: 5.434 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.3211, allocations: 114.7 kB / 372.6 MB, free: 5.355 MB / 296.6 MB Notification: Performance of pre-optimization done (n=13): time 3.911e-06/0.3212, allocations: 4 kB / 372.6 MB, free: 5.352 MB / 296.6 MB Notification: Performance of matching and sorting (n=13): time 0.0007866/0.322, allocations: 206.9 kB / 372.8 MB, free: 5.293 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3221, allocations: 107.5 kB / 372.9 MB, free: 5.168 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.3224, allocations: 210.2 kB / 373.1 MB, free: 5.062 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3225, allocations: 26.27 kB / 373.1 MB, free: 5.031 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.3227, allocations: 157.9 kB / 373.3 MB, free: 4.906 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.3228, allocations: 45.62 kB / 373.3 MB, free: 4.875 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.3228, allocations: 0 / 373.3 MB, free: 4.875 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.323, allocations: 328.2 kB / 373.6 MB, free: 20.56 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3232, allocations: 52.2 kB / 373.7 MB, free: 20.55 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3234, allocations: 109 kB / 373.8 MB, free: 20.48 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3236, allocations: 52.47 kB / 373.9 MB, free: 20.48 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3237, allocations: 4.125 kB / 373.9 MB, free: 20.47 MB / 312.6 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008755/0.3246, allocations: 258.8 kB / 374.1 MB, free: 20.41 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3247, allocations: 11.69 kB / 374.1 MB, free: 20.4 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-06/0.3247, allocations: 0 / 374.1 MB, free: 20.4 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/0.3254, allocations: 108.9 kB / 374.2 MB, free: 20.38 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.3257, allocations: 44.09 kB / 374.3 MB, free: 20.38 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.3277, allocations: 1.421 MB / 375.7 MB, free: 19.11 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.3282, allocations: 46.41 kB / 375.7 MB, free: 19.09 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.3284, allocations: 10.84 kB / 375.7 MB, free: 19.09 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.54e-05/0.3285, allocations: 83.06 kB / 375.8 MB, free: 19.01 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.3286, allocations: 15.56 kB / 375.8 MB, free: 19 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/0.3288, allocations: 24.3 kB / 375.9 MB, free: 19 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3288, allocations: 3.938 kB / 375.9 MB, free: 18.99 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-06/0.3289, allocations: 0 / 375.9 MB, free: 18.99 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-06/0.3289, allocations: 7.906 kB / 375.9 MB, free: 18.98 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.3292, allocations: 256.7 kB / 376.1 MB, free: 18.78 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-06/0.3293, allocations: 0 / 376.1 MB, free: 18.78 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.3296, allocations: 27.55 kB / 376.2 MB, free: 18.78 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005876/0.3303, allocations: 102.4 kB / 376.3 MB, free: 18.74 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3304, allocations: 3.906 kB / 376.3 MB, free: 18.73 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.332, allocations: 1.416 MB / 377.7 MB, free: 17.46 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.3321, allocations: 0 / 377.7 MB, free: 17.46 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007787/0.3329, allocations: 233.2 kB / 377.9 MB, free: 17.34 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.571e-05/0.3331, allocations: 104 kB / 378 MB, free: 17.23 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.3332, allocations: 0 / 378 MB, free: 17.23 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.3336, allocations: 35.34 kB / 378 MB, free: 17.22 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.3338, allocations: 23 kB / 378.1 MB, free: 17.21 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3339, allocations: 5.938 kB / 378.1 MB, free: 17.21 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001789/0.3341, allocations: 164.4 kB / 378.2 MB, free: 17.13 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004719/0.3346, allocations: 69.75 kB / 378.3 MB, free: 17.11 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002615/0.335, allocations: 72.83 kB / 378.4 MB, free: 17.05 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.3356, allocations: 261.9 kB / 378.6 MB, free: 16.9 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.632e-06/0.3356, allocations: 4.062 kB / 378.6 MB, free: 16.9 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.336, allocations: 163.1 kB / 378.8 MB, free: 16.79 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3364, allocations: 29.61 kB / 378.8 MB, free: 16.79 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.3372, allocations: 259.1 kB / 379.1 MB, free: 16.64 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.3375, allocations: 0.7651 MB / 379.8 MB, free: 15.9 MB / 312.6 MB Notification: Performance of SimCode: time 1.955e-06/0.3376, allocations: 0 / 379.8 MB, free: 15.9 MB / 312.6 MB Notification: Performance of Templates: time 0.03568/0.3733, allocations: 3.148 MB / 383 MB, free: 14.32 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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_SchmittTrigger -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.SchmittTrigger.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_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.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_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.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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_SchmittTrigger_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.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:171:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_36(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:171:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_36(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:172:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:172:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:173:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_38(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.SchmittTrigger.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.o] Error 1