Notification: Performance of loadModel(Modelica): time 1.542/1.542, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.097e-05, allocations: 2.156 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06305/0.06313, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.2924, allocations: 73.56 MB / 365.3 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.2927, allocations: 85.2 kB / 365.4 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02227/0.3151, allocations: 4.92 MB / 370.3 MB, free: 6.641 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.3152, allocations: 3.969 kB / 370.3 MB, free: 6.641 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009655/0.3162, allocations: 0.551 MB / 370.8 MB, free: 6.199 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3164, allocations: 7.469 kB / 370.8 MB, free: 6.199 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.3165, allocations: 26.94 kB / 370.9 MB, free: 6.188 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.3169, allocations: 260.8 kB / 371.1 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.317, allocations: 11.69 kB / 371.1 MB, free: 5.965 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.3171, allocations: 15.38 kB / 371.1 MB, free: 5.961 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003996/0.3176, allocations: 144 kB / 371.3 MB, free: 5.949 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.3181, allocations: 158.3 kB / 371.4 MB, free: 5.91 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3181, allocations: 7.891 kB / 371.4 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.3182, allocations: 0 / 371.4 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.149e-06/0.3183, allocations: 3.844 kB / 371.4 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.3203, allocations: 0.8529 MB / 372.3 MB, free: 5.484 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.3208, allocations: 122.2 kB / 372.4 MB, free: 5.457 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.321, allocations: 56.86 kB / 372.5 MB, free: 5.445 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3211, allocations: 0 / 372.5 MB, free: 5.445 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3213, allocations: 120.9 kB / 372.6 MB, free: 5.367 MB / 296.6 MB Notification: Performance of pre-optimization done (n=13): time 3.143e-06/0.3214, allocations: 0 / 372.6 MB, free: 5.367 MB / 296.6 MB Notification: Performance of matching and sorting (n=13): time 0.0008051/0.3223, allocations: 202.7 kB / 372.8 MB, free: 5.309 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3224, allocations: 109.7 kB / 372.9 MB, free: 5.184 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.3227, allocations: 211.4 kB / 373.1 MB, free: 5.07 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3228, allocations: 34.92 kB / 373.1 MB, free: 5.039 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.3229, allocations: 150.7 kB / 373.3 MB, free: 4.918 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.3231, allocations: 40.23 kB / 373.3 MB, free: 4.891 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.3231, allocations: 0 / 373.3 MB, free: 4.891 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3233, allocations: 331.5 kB / 373.6 MB, free: 20.58 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3235, allocations: 52 kB / 373.7 MB, free: 20.57 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3237, allocations: 110.4 kB / 373.8 MB, free: 20.49 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3239, allocations: 49.45 kB / 373.9 MB, free: 20.49 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.867e-06/0.324, allocations: 7.844 kB / 373.9 MB, free: 20.48 MB / 312.6 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009125/0.3249, allocations: 257.4 kB / 374.1 MB, free: 20.42 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.325, allocations: 7.812 kB / 374.1 MB, free: 20.42 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.94e-06/0.3251, allocations: 3.906 kB / 374.1 MB, free: 20.42 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.3258, allocations: 103.2 kB / 374.2 MB, free: 20.4 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.3261, allocations: 43.73 kB / 374.3 MB, free: 20.39 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.3281, allocations: 1.422 MB / 375.7 MB, free: 19.18 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3286, allocations: 46.91 kB / 375.7 MB, free: 19.16 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3287, allocations: 7.594 kB / 375.7 MB, free: 19.16 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.694e-05/0.3289, allocations: 79.19 kB / 375.8 MB, free: 19.08 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.329, allocations: 19.5 kB / 375.8 MB, free: 19.07 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.3291, allocations: 24.86 kB / 375.9 MB, free: 19.06 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-06/0.3292, allocations: 7.906 kB / 375.9 MB, free: 19.06 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.098e-06/0.3293, allocations: 192 / 375.9 MB, free: 19.06 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.032e-06/0.3293, allocations: 3.906 kB / 375.9 MB, free: 19.05 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3297, allocations: 250.9 kB / 376.1 MB, free: 18.85 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-06/0.3297, allocations: 0 / 376.1 MB, free: 18.85 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.33, allocations: 34.98 kB / 376.2 MB, free: 18.84 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.3306, allocations: 90.41 kB / 376.2 MB, free: 18.81 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3307, allocations: 11.59 kB / 376.3 MB, free: 18.8 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.3325, allocations: 1.421 MB / 377.7 MB, free: 17.52 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.517e-06/0.3326, allocations: 0 / 377.7 MB, free: 17.52 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007563/0.3334, allocations: 232.9 kB / 377.9 MB, free: 17.41 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.3336, allocations: 108.4 kB / 378 MB, free: 17.3 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.3337, allocations: 192 / 378 MB, free: 17.3 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3341, allocations: 39.44 kB / 378 MB, free: 17.28 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.3343, allocations: 19.34 kB / 378.1 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.3343, allocations: 3.938 kB / 378.1 MB, free: 17.27 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001789/0.3346, allocations: 165.5 kB / 378.2 MB, free: 17.19 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004725/0.3351, allocations: 70.19 kB / 378.3 MB, free: 17.18 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.653e-05/0.3353, allocations: 69.17 kB / 378.4 MB, free: 17.12 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.3359, allocations: 265.8 kB / 378.6 MB, free: 16.96 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.588e-06/0.3359, allocations: 3.844 kB / 378.6 MB, free: 16.96 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.3363, allocations: 155.4 kB / 378.8 MB, free: 16.86 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3366, allocations: 35.67 kB / 378.8 MB, free: 16.85 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.3374, allocations: 260.8 kB / 379.1 MB, free: 16.7 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.3378, allocations: 0.7655 MB / 379.8 MB, free: 15.96 MB / 312.6 MB Notification: Performance of SimCode: time 2.025e-06/0.3378, allocations: 0 / 379.8 MB, free: 15.96 MB / 312.6 MB Notification: Performance of Templates: time 0.04827/0.3862, allocations: 3.138 MB / 383 MB, free: 14.38 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:171:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_36(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:171:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_36(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:172:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:172:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_eqFunction_37(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.c:173:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.o] Error 1