Notification: Performance of loadModel(Modelica): time 1.507/1.507, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.988e-06/1.02e-05, allocations: 2.688 kB / 247.3 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06415/0.06423, allocations: 44.35 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.2955, allocations: 75.84 MB / 367.5 MB, free: 7.195 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.2958, allocations: 84.47 kB / 367.6 MB, free: 7.188 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.06251/0.3584, allocations: 13.72 MB / 381.3 MB, free: 3.375 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.625e-05/0.3586, allocations: 11.62 kB / 381.4 MB, free: 3.375 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.004817/0.3634, allocations: 1.369 MB / 382.7 MB, free: 2.508 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3636, allocations: 7.844 kB / 382.7 MB, free: 2.508 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.364, allocations: 89.5 kB / 382.8 MB, free: 2.465 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.3659, allocations: 0.5947 MB / 383.4 MB, free: 2.078 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.3661, allocations: 19.34 kB / 383.4 MB, free: 2.078 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.3663, allocations: 39.06 kB / 383.5 MB, free: 2.078 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/0.368, allocations: 0.5988 MB / 384.1 MB, free: 2.043 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.3695, allocations: 0.5368 MB / 384.6 MB, free: 1.906 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.3696, allocations: 3.906 kB / 384.6 MB, free: 1.902 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.3697, allocations: 0 / 384.6 MB, free: 1.902 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3698, allocations: 19.12 kB / 384.6 MB, free: 1.898 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.3758, allocations: 2.574 MB / 387.2 MB, free: 408 kB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.377, allocations: 445.9 kB / 387.6 MB, free: 364 kB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.3778, allocations: 280.2 kB / 387.9 MB, free: 352 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.3779, allocations: 11.58 kB / 387.9 MB, free: 348 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007928/0.3787, allocations: 362 kB / 388.3 MB, free: 200 kB / 296.6 MB Notification: Performance of pre-optimization done (n=54): time 3.842e-06/0.3788, allocations: 3.938 kB / 388.3 MB, free: 196 kB / 296.6 MB Notification: Performance of matching and sorting (n=94): time 0.06901/0.4479, allocations: 10.61 MB / 398.9 MB, free: 12.61 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.4481, allocations: 148.5 kB / 399 MB, free: 12.45 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.4488, allocations: 405.6 kB / 399.4 MB, free: 12.3 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.4491, allocations: 30.61 kB / 399.5 MB, free: 12.27 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.4494, allocations: 310.1 kB / 399.8 MB, free: 12.02 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.4498, allocations: 301.3 kB / 400.1 MB, free: 11.8 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.45, allocations: 5.031 kB / 400.1 MB, free: 11.8 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4502, allocations: 387 kB / 400.4 MB, free: 11.46 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4516, allocations: 0.5225 MB / 401 MB, free: 11.23 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.4534, allocations: 0.7288 MB / 401.7 MB, free: 10.69 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.4552, allocations: 0.5623 MB / 402.3 MB, free: 10.36 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.381e-06/0.4553, allocations: 4 kB / 402.3 MB, free: 10.36 MB / 312.6 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.04023/0.4956, allocations: 6.159 MB / 408.4 MB, free: 4.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4957, allocations: 4 kB / 408.4 MB, free: 4.906 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4958, allocations: 8 kB / 408.4 MB, free: 4.898 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04269/0.5386, allocations: 6.131 MB / 414.6 MB, free: 15.15 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.5397, allocations: 190.4 kB / 414.7 MB, free: 14.97 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008157/0.548, allocations: 3.314 MB / 418.1 MB, free: 12.55 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/0.5513, allocations: 295.7 kB / 418.3 MB, free: 12.26 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.5517, allocations: 48.47 kB / 418.4 MB, free: 12.22 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.0002125/0.552, allocations: 81.97 kB / 418.5 MB, free: 12.14 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.5523, allocations: 75.06 kB / 418.5 MB, free: 12.07 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03112/0.5835, allocations: 4.745 MB / 423.3 MB, free: 7.652 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.5836, allocations: 12 kB / 423.3 MB, free: 7.641 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.381e-06/0.5837, allocations: 0 / 423.3 MB, free: 7.641 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.5837, allocations: 3.984 kB / 423.3 MB, free: 7.637 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.5857, allocations: 1.156 MB / 424.5 MB, free: 6.453 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.8e-06/0.5858, allocations: 0 / 424.5 MB, free: 6.453 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.5868, allocations: 147.8 kB / 424.6 MB, free: 6.309 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04232/0.6292, allocations: 6.119 MB / 430.7 MB, free: 184 kB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.6296, allocations: 15.97 kB / 430.7 MB, free: 168 kB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03572/0.6654, allocations: 8.63 MB / 439.4 MB, free: 7.387 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.6655, allocations: 0 / 439.4 MB, free: 7.387 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0322/0.6978, allocations: 5.475 MB / 444.8 MB, free: 1.895 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/0.6986, allocations: 280 kB / 445.1 MB, free: 1.602 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.699, allocations: 7.938 kB / 445.1 MB, free: 1.594 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/0.7018, allocations: 303.8 kB / 445.4 MB, free: 1.297 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/0.7023, allocations: 96.62 kB / 445.5 MB, free: 1.203 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.7025, allocations: 31.97 kB / 445.6 MB, free: 1.172 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0004896/0.7031, allocations: 303 kB / 445.8 MB, free: 0.875 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001388/0.7045, allocations: 291.9 kB / 446.1 MB, free: 0.5898 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.7047, allocations: 85.47 kB / 446.2 MB, free: 0.5 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.005334/0.7101, allocations: 1.555 MB / 447.8 MB, free: 14.93 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 6.775e-06/0.7103, allocations: 1.125 kB / 447.8 MB, free: 14.93 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005663/0.716, allocations: 1.18 MB / 449 MB, free: 13.75 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.717, allocations: 82.05 kB / 449 MB, free: 13.66 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.7264, allocations: 2.086 MB / 451.1 MB, free: 11.59 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.7272, allocations: 1.016 MB / 452.1 MB, free: 10.55 MB / 360.6 MB Notification: Performance of SimCode: time 2.375e-06/0.7272, allocations: 0 / 452.1 MB, free: 10.55 MB / 360.6 MB Notification: Performance of Templates: time 0.07731/0.8046, allocations: 28.11 MB / 480.2 MB, free: 14.5 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_142(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_142(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_143(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_eqFunction_143(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.o] Error 1