Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.041e-05, allocations: 2.219 kB / 247.3 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06171/0.06179, allocations: 44.37 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.2909, allocations: 75.84 MB / 367.6 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.2912, allocations: 73.28 kB / 367.6 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.06954/0.3608, allocations: 13.73 MB / 381.4 MB, free: 3.219 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.415e-05/0.361, allocations: 11.69 kB / 381.4 MB, free: 3.219 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.004517/0.3655, allocations: 1.37 MB / 382.7 MB, free: 2.352 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3657, allocations: 7.844 kB / 382.7 MB, free: 2.352 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.3661, allocations: 93.12 kB / 382.8 MB, free: 2.309 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.3681, allocations: 0.5912 MB / 383.4 MB, free: 1.922 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.3683, allocations: 19.53 kB / 383.4 MB, free: 1.922 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.3686, allocations: 38.03 kB / 383.5 MB, free: 1.922 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001776/0.3705, allocations: 0.6005 MB / 384.1 MB, free: 1.887 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.3719, allocations: 0.5276 MB / 384.6 MB, free: 1.75 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.372, allocations: 3.906 kB / 384.6 MB, free: 1.746 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.3721, allocations: 7.984 kB / 384.6 MB, free: 1.738 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.3722, allocations: 15.47 kB / 384.6 MB, free: 1.738 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.378, allocations: 2.575 MB / 387.2 MB, free: 244 kB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.3792, allocations: 454.8 kB / 387.7 MB, free: 192 kB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.3799, allocations: 279.6 kB / 387.9 MB, free: 180 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.38, allocations: 5.625 kB / 387.9 MB, free: 180 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.3808, allocations: 369.1 kB / 388.3 MB, free: 28 kB / 296.6 MB Notification: Performance of pre-optimization done (n=54): time 6.215e-06/0.3809, allocations: 3.938 kB / 388.3 MB, free: 24 kB / 296.6 MB Notification: Performance of matching and sorting (n=94): time 0.06611/0.4471, allocations: 10.61 MB / 398.9 MB, free: 12.45 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/0.4474, allocations: 140.3 kB / 399 MB, free: 12.29 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.4482, allocations: 410.9 kB / 399.4 MB, free: 12.14 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.4485, allocations: 28.73 kB / 399.5 MB, free: 12.11 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4487, allocations: 306.4 kB / 399.8 MB, free: 11.87 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.4491, allocations: 304.2 kB / 400.1 MB, free: 11.64 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.4493, allocations: 1.094 kB / 400.1 MB, free: 11.64 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4495, allocations: 384.3 kB / 400.4 MB, free: 11.3 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4509, allocations: 0.5307 MB / 401 MB, free: 11.21 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.4524, allocations: 0.728 MB / 401.7 MB, free: 10.67 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.4543, allocations: 0.5556 MB / 402.3 MB, free: 10.35 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4544, allocations: 4 kB / 402.3 MB, free: 10.34 MB / 312.6 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.03858/0.493, allocations: 6.167 MB / 408.4 MB, free: 4.891 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4932, allocations: 4 kB / 408.4 MB, free: 4.887 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.4933, allocations: 11.94 kB / 408.4 MB, free: 4.875 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04089/0.5342, allocations: 6.13 MB / 414.6 MB, free: 15.13 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5354, allocations: 191.5 kB / 414.8 MB, free: 14.94 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/0.5434, allocations: 3.302 MB / 418.1 MB, free: 12.53 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.5464, allocations: 305.9 kB / 418.4 MB, free: 12.23 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.5467, allocations: 38.86 kB / 418.4 MB, free: 12.2 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.000208/0.547, allocations: 86.52 kB / 418.5 MB, free: 12.12 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.5473, allocations: 79.06 kB / 418.6 MB, free: 12.04 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02917/0.5765, allocations: 4.744 MB / 423.3 MB, free: 7.641 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.5766, allocations: 12 kB / 423.3 MB, free: 7.629 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.219e-06/0.5767, allocations: 0 / 423.3 MB, free: 7.629 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.5768, allocations: 7.969 kB / 423.3 MB, free: 7.621 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.5788, allocations: 1.148 MB / 424.5 MB, free: 6.445 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.216e-06/0.5789, allocations: 3.938 kB / 424.5 MB, free: 6.441 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/0.5798, allocations: 147.8 kB / 424.6 MB, free: 6.297 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04053/0.6204, allocations: 6.13 MB / 430.8 MB, free: 160 kB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.6207, allocations: 7.984 kB / 430.8 MB, free: 152 kB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03403/0.6548, allocations: 8.611 MB / 439.4 MB, free: 7.395 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/0.655, allocations: 0 / 439.4 MB, free: 7.395 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03091/0.6859, allocations: 5.476 MB / 444.8 MB, free: 1.902 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/0.6868, allocations: 280 kB / 445.1 MB, free: 1.609 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.6871, allocations: 11.98 kB / 445.1 MB, free: 1.598 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/0.6898, allocations: 295.7 kB / 445.4 MB, free: 1.309 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.6902, allocations: 96.62 kB / 445.5 MB, free: 1.215 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.6905, allocations: 35.97 kB / 445.5 MB, free: 1.18 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0004426/0.691, allocations: 299 kB / 445.8 MB, free: 0.8867 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001335/0.6924, allocations: 299.9 kB / 446.1 MB, free: 0.5938 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.6926, allocations: 77.48 kB / 446.2 MB, free: 0.5117 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.005238/0.6979, allocations: 1.563 MB / 447.8 MB, free: 14.94 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.698, allocations: 0 / 447.8 MB, free: 14.94 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005262/0.7033, allocations: 1.173 MB / 448.9 MB, free: 13.76 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.7043, allocations: 86.05 kB / 449 MB, free: 13.67 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009291/0.7137, allocations: 2.09 MB / 451.1 MB, free: 11.59 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/0.7144, allocations: 1.009 MB / 452.1 MB, free: 10.55 MB / 360.6 MB Notification: Performance of SimCode: time 2.305e-06/0.7145, allocations: 7.938 kB / 452.1 MB, free: 10.54 MB / 360.6 MB Notification: Performance of Templates: time 0.1176/0.8321, allocations: 28.1 MB / 480.2 MB, free: 14.49 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