Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.141 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.453e-05, allocations: 2.312 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07873, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.3096, allocations: 73.56 MB / 365.3 MB, free: 6.969 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.31, allocations: 85.03 kB / 365.4 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0218/0.3318, allocations: 4.932 MB / 370.3 MB, free: 6.594 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.332, allocations: 5.734 kB / 370.3 MB, free: 6.594 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008993/0.3329, allocations: 0.5407 MB / 370.8 MB, free: 6.152 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3331, allocations: 15.5 kB / 370.8 MB, free: 6.148 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.3332, allocations: 31.77 kB / 370.9 MB, free: 6.137 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.3336, allocations: 258.8 kB / 371.1 MB, free: 5.918 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3337, allocations: 7.75 kB / 371.1 MB, free: 5.918 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.3338, allocations: 24.38 kB / 371.2 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003549/0.3342, allocations: 133.2 kB / 371.3 MB, free: 5.898 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3346, allocations: 165.4 kB / 371.5 MB, free: 5.859 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3347, allocations: 0 / 371.5 MB, free: 5.859 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.3348, allocations: 0.7031 kB / 371.5 MB, free: 5.859 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3349, allocations: 7.875 kB / 371.5 MB, free: 5.855 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.3368, allocations: 0.8491 MB / 372.3 MB, free: 5.434 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.3373, allocations: 117.1 kB / 372.4 MB, free: 5.41 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3375, allocations: 53.64 kB / 372.5 MB, free: 5.402 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3376, allocations: 0 / 372.5 MB, free: 5.402 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3378, allocations: 132.7 kB / 372.6 MB, free: 5.316 MB / 296.6 MB Notification: Performance of pre-optimization done (n=13): time 3.282e-06/0.3379, allocations: 0 / 372.6 MB, free: 5.316 MB / 296.6 MB Notification: Performance of matching and sorting (n=13): time 0.00079/0.3387, allocations: 200.9 kB / 372.8 MB, free: 5.258 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3388, allocations: 110.9 kB / 372.9 MB, free: 5.133 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.3392, allocations: 217.6 kB / 373.1 MB, free: 5.023 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3393, allocations: 25.7 kB / 373.1 MB, free: 4.992 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.3394, allocations: 158.1 kB / 373.3 MB, free: 4.863 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3395, allocations: 42.19 kB / 373.3 MB, free: 4.84 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.3396, allocations: 0 / 373.3 MB, free: 4.84 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3397, allocations: 333.5 kB / 373.7 MB, free: 20.53 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3399, allocations: 52.7 kB / 373.7 MB, free: 20.52 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3402, allocations: 125.8 kB / 373.8 MB, free: 20.43 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3404, allocations: 53.86 kB / 373.9 MB, free: 20.42 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3404, allocations: 3.938 kB / 373.9 MB, free: 20.42 MB / 312.6 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008773/0.3413, allocations: 283.5 kB / 374.2 MB, free: 20.34 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3414, allocations: 3.844 kB / 374.2 MB, free: 20.34 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.731e-06/0.3415, allocations: 3.906 kB / 374.2 MB, free: 20.34 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.3421, allocations: 97.59 kB / 374.3 MB, free: 20.33 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.3425, allocations: 55.23 kB / 374.3 MB, free: 20.32 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.3447, allocations: 1.513 MB / 375.8 MB, free: 19.01 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.3452, allocations: 54.91 kB / 375.9 MB, free: 18.98 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3453, allocations: 11.19 kB / 375.9 MB, free: 18.98 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 8.779e-05/0.3455, allocations: 75.28 kB / 376 MB, free: 18.91 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.3456, allocations: 23.19 kB / 376 MB, free: 18.89 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.3457, allocations: 24.05 kB / 376 MB, free: 18.88 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3457, allocations: 3.938 kB / 376 MB, free: 18.88 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-06/0.3458, allocations: 4 kB / 376 MB, free: 18.88 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-06/0.3458, allocations: 3.938 kB / 376 MB, free: 18.88 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3461, allocations: 254.6 kB / 376.3 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-06/0.3462, allocations: 7.984 kB / 376.3 MB, free: 18.66 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.3465, allocations: 31.09 kB / 376.3 MB, free: 18.66 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/0.347, allocations: 92.77 kB / 376.4 MB, free: 18.62 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3471, allocations: 7.859 kB / 376.4 MB, free: 18.62 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.3488, allocations: 1.512 MB / 377.9 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.098e-06/0.3489, allocations: 0 / 377.9 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007206/0.3497, allocations: 236.9 kB / 378.2 MB, free: 17.16 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.3498, allocations: 100.7 kB / 378.3 MB, free: 17.04 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.35, allocations: 4.125 kB / 378.3 MB, free: 17.04 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.3504, allocations: 38.44 kB / 378.3 MB, free: 17.03 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.3505, allocations: 23.25 kB / 378.3 MB, free: 17.02 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3506, allocations: 3.844 kB / 378.3 MB, free: 17.02 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000186/0.3508, allocations: 164.2 kB / 378.5 MB, free: 16.93 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005846/0.3515, allocations: 65.78 kB / 378.6 MB, free: 16.92 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.184e-05/0.3516, allocations: 73.05 kB / 378.6 MB, free: 16.86 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.3523, allocations: 272.2 kB / 378.9 MB, free: 16.71 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.771e-06/0.3524, allocations: 0 / 378.9 MB, free: 16.71 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.3529, allocations: 167.2 kB / 379.1 MB, free: 16.6 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3533, allocations: 27.56 kB / 379.1 MB, free: 16.59 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3556, allocations: 474.8 kB / 379.6 MB, free: 16.37 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.3559, allocations: 0.7726 MB / 380.3 MB, free: 15.63 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.356, allocations: 0 / 380.3 MB, free: 15.63 MB / 312.6 MB Notification: Performance of Templates: time 0.05353/0.4096, allocations: 3.142 MB / 383.5 MB, free: 14.06 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