Notification: Performance of loadModel(Modelica): time 1.568/1.568, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.306e-05/1.32e-05, allocations: 1.281 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.08375, allocations: 44.36 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.3224, allocations: 75.85 MB / 367.5 MB, free: 7.004 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.3227, allocations: 74.89 kB / 367.6 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.06544/0.3882, allocations: 13.73 MB / 381.3 MB, free: 3.215 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.3884, allocations: 11.59 kB / 381.4 MB, free: 3.215 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.004572/0.393, allocations: 1.371 MB / 382.7 MB, free: 2.348 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3932, allocations: 7.688 kB / 382.7 MB, free: 2.348 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.3935, allocations: 89.84 kB / 382.8 MB, free: 2.305 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.3954, allocations: 0.5843 MB / 383.4 MB, free: 1.918 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.3955, allocations: 27.12 kB / 383.4 MB, free: 1.914 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.3958, allocations: 35.03 kB / 383.5 MB, free: 1.914 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001582/0.3974, allocations: 0.5974 MB / 384.1 MB, free: 1.879 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3988, allocations: 0.5282 MB / 384.6 MB, free: 1.746 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3989, allocations: 7.844 kB / 384.6 MB, free: 1.738 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/0.399, allocations: 3.844 kB / 384.6 MB, free: 1.738 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3991, allocations: 15.25 kB / 384.6 MB, free: 1.738 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.4045, allocations: 2.585 MB / 387.2 MB, free: 236 kB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.4058, allocations: 448 kB / 387.6 MB, free: 188 kB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.4065, allocations: 276.5 kB / 387.9 MB, free: 176 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.4067, allocations: 13.25 kB / 387.9 MB, free: 176 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007713/0.4075, allocations: 361.4 kB / 388.3 MB, free: 28 kB / 296.6 MB Notification: Performance of pre-optimization done (n=54): time 5.936e-06/0.4076, allocations: 5.25 kB / 388.3 MB, free: 24 kB / 296.6 MB Notification: Performance of matching and sorting (n=94): time 0.06721/0.4748, allocations: 10.61 MB / 398.9 MB, free: 12.45 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.475, allocations: 143.8 kB / 399 MB, free: 12.29 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.4758, allocations: 413.4 kB / 399.4 MB, free: 12.13 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.476, allocations: 28.98 kB / 399.5 MB, free: 12.1 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.4763, allocations: 305.3 kB / 399.8 MB, free: 11.86 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.4767, allocations: 300.5 kB / 400.1 MB, free: 11.64 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4769, allocations: 1 kB / 400.1 MB, free: 11.64 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.477, allocations: 386.5 kB / 400.4 MB, free: 11.3 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.4785, allocations: 0.527 MB / 401 MB, free: 11.2 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.4802, allocations: 0.731 MB / 401.7 MB, free: 10.66 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.4819, allocations: 0.565 MB / 402.3 MB, free: 10.34 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-06/0.482, allocations: 0 / 402.3 MB, free: 10.34 MB / 312.6 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.03921/0.5213, allocations: 6.163 MB / 408.4 MB, free: 4.883 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5214, allocations: 4 kB / 408.4 MB, free: 4.879 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.5215, allocations: 11.92 kB / 408.4 MB, free: 4.867 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04124/0.5628, allocations: 6.125 MB / 414.6 MB, free: 15.13 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5639, allocations: 198.9 kB / 414.8 MB, free: 14.94 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007975/0.572, allocations: 3.306 MB / 418.1 MB, free: 12.52 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.575, allocations: 295.7 kB / 418.4 MB, free: 12.23 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.5754, allocations: 49.72 kB / 418.4 MB, free: 12.19 MB / 328.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 0.0002255/0.5756, allocations: 75.28 kB / 418.5 MB, free: 12.12 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.5759, allocations: 83.06 kB / 418.6 MB, free: 12.04 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02997/0.606, allocations: 4.745 MB / 423.3 MB, free: 7.656 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.6061, allocations: 16.03 kB / 423.3 MB, free: 7.641 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.94e-06/0.6062, allocations: 0 / 423.3 MB, free: 7.641 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.6062, allocations: 3.984 kB / 423.3 MB, free: 7.637 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.6081, allocations: 1.151 MB / 424.5 MB, free: 6.457 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-06/0.6082, allocations: 4 kB / 424.5 MB, free: 6.453 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.6091, allocations: 139.8 kB / 424.6 MB, free: 6.316 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04042/0.6496, allocations: 6.127 MB / 430.7 MB, free: 184 kB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.65, allocations: 11.97 kB / 430.7 MB, free: 172 kB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03409/0.6841, allocations: 8.623 MB / 439.4 MB, free: 7.402 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.6843, allocations: 3.938 kB / 439.4 MB, free: 7.398 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0314/0.7157, allocations: 5.475 MB / 444.9 MB, free: 1.91 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.7165, allocations: 284 kB / 445.1 MB, free: 1.613 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.7169, allocations: 7.938 kB / 445.1 MB, free: 1.605 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/0.7198, allocations: 291.8 kB / 445.4 MB, free: 1.32 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/0.7202, allocations: 104.6 kB / 445.5 MB, free: 1.219 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.7205, allocations: 32.23 kB / 445.6 MB, free: 1.188 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0004901/0.721, allocations: 310.9 kB / 445.9 MB, free: 0.8828 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001397/0.7225, allocations: 291.9 kB / 446.1 MB, free: 0.5977 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.7227, allocations: 81.47 kB / 446.2 MB, free: 0.5117 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.005229/0.728, allocations: 1.555 MB / 447.8 MB, free: 14.94 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/0.7281, allocations: 0 / 447.8 MB, free: 14.94 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005436/0.7336, allocations: 1.17 MB / 448.9 MB, free: 13.77 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/0.7345, allocations: 82.05 kB / 449 MB, free: 13.68 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.7436, allocations: 2.096 MB / 451.1 MB, free: 11.6 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/0.7444, allocations: 1.012 MB / 452.1 MB, free: 10.56 MB / 360.6 MB Notification: Performance of SimCode: time 2.305e-06/0.7444, allocations: 4 kB / 452.1 MB, free: 10.56 MB / 360.6 MB Notification: Performance of Templates: time 0.06891/0.8134, allocations: 28.1 MB / 480.2 MB, free: 14.52 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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_HeatingNPN_OrGate -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_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.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_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.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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_HeatingNPN_OrGate_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.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_142(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_142(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_143(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_143(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_144(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.HeatingNPN_OrGate.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.o] Error 1