Notification: Performance of loadModel(Modelica): time 1.514/1.514, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.718e-05, allocations: 1.969 kB / 247.3 MB, free: 4.758 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09221, allocations: 44.37 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/0.3501, allocations: 75.84 MB / 367.5 MB, free: 7.086 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3505, allocations: 81.09 kB / 367.6 MB, free: 7.082 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0635/0.414, allocations: 13.72 MB / 381.3 MB, free: 3.324 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.778e-05/0.4142, allocations: 26.44 kB / 381.4 MB, free: 3.316 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.004559/0.4188, allocations: 1.355 MB / 382.7 MB, free: 2.457 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.419, allocations: 11.69 kB / 382.7 MB, free: 2.457 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.4194, allocations: 88.81 kB / 382.8 MB, free: 2.414 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4213, allocations: 0.5892 MB / 383.4 MB, free: 2.031 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.4214, allocations: 23.48 kB / 383.4 MB, free: 2.027 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.4217, allocations: 38.69 kB / 383.5 MB, free: 2.027 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.4233, allocations: 0.5929 MB / 384.1 MB, free: 2 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.4246, allocations: 0.5338 MB / 384.6 MB, free: 1.863 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.4247, allocations: 3.906 kB / 384.6 MB, free: 1.859 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.4249, allocations: 7.938 kB / 384.6 MB, free: 1.852 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.425, allocations: 15.09 kB / 384.6 MB, free: 1.852 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005602/0.4306, allocations: 2.579 MB / 387.2 MB, free: 344 kB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.4318, allocations: 452 kB / 387.6 MB, free: 296 kB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.4325, allocations: 282.5 kB / 387.9 MB, free: 280 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.4327, allocations: 5.688 kB / 387.9 MB, free: 280 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007583/0.4335, allocations: 368.7 kB / 388.3 MB, free: 128 kB / 296.6 MB Notification: Performance of pre-optimization done (n=54): time 6.565e-06/0.4335, allocations: 3.938 kB / 388.3 MB, free: 124 kB / 296.6 MB Notification: Performance of matching and sorting (n=94): time 0.06543/0.499, allocations: 10.61 MB / 398.9 MB, free: 12.57 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.4992, allocations: 141 kB / 399 MB, free: 12.41 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.5, allocations: 414.2 kB / 399.4 MB, free: 12.25 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.5002, allocations: 28.08 kB / 399.5 MB, free: 12.22 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5005, allocations: 315.6 kB / 399.8 MB, free: 11.98 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.5009, allocations: 293.6 kB / 400.1 MB, free: 11.76 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5011, allocations: 1.125 kB / 400.1 MB, free: 11.76 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5012, allocations: 387.9 kB / 400.4 MB, free: 11.42 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.5028, allocations: 0.5268 MB / 401 MB, free: 11.23 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.5043, allocations: 0.724 MB / 401.7 MB, free: 10.7 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.506, allocations: 0.5681 MB / 402.3 MB, free: 10.37 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.5061, allocations: 0 / 402.3 MB, free: 10.37 MB / 312.6 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.03844/0.5446, allocations: 6.172 MB / 408.4 MB, free: 4.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5448, allocations: 8.125 kB / 408.4 MB, free: 4.902 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.5449, allocations: 4 kB / 408.4 MB, free: 4.898 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0405/0.5854, allocations: 6.121 MB / 414.6 MB, free: 15.16 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.5866, allocations: 199.7 kB / 414.8 MB, free: 14.97 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008047/0.5947, allocations: 3.3 MB / 418.1 MB, free: 12.56 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.5981, allocations: 303.7 kB / 418.4 MB, free: 12.26 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.5984, allocations: 42.11 kB / 418.4 MB, free: 12.23 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.0002115/0.5987, allocations: 83.27 kB / 418.5 MB, free: 12.15 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.599, allocations: 75.06 kB / 418.6 MB, free: 12.07 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02926/0.6283, allocations: 4.755 MB / 423.3 MB, free: 7.652 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.6284, allocations: 8 kB / 423.3 MB, free: 7.645 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.6285, allocations: 3.984 kB / 423.3 MB, free: 7.641 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.6286, allocations: 3.984 kB / 423.3 MB, free: 7.637 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.6305, allocations: 1.152 MB / 424.5 MB, free: 6.457 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-06/0.6306, allocations: 0 / 424.5 MB, free: 6.457 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6317, allocations: 143.9 kB / 424.6 MB, free: 6.316 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03978/0.6715, allocations: 6.126 MB / 430.7 MB, free: 184 kB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/0.6719, allocations: 7.984 kB / 430.8 MB, free: 176 kB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03342/0.7054, allocations: 8.612 MB / 439.4 MB, free: 7.418 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/0.7055, allocations: 0 / 439.4 MB, free: 7.418 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03061/0.7362, allocations: 5.495 MB / 444.9 MB, free: 1.91 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008305/0.7371, allocations: 276 kB / 445.1 MB, free: 1.621 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.7375, allocations: 11.92 kB / 445.1 MB, free: 1.609 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/0.7404, allocations: 291.8 kB / 445.4 MB, free: 1.324 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003836/0.7409, allocations: 100.6 kB / 445.5 MB, free: 1.227 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.7411, allocations: 31.97 kB / 445.6 MB, free: 1.195 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0005178/0.7417, allocations: 303 kB / 445.9 MB, free: 0.8984 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001428/0.7432, allocations: 295.9 kB / 446.1 MB, free: 0.6094 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.7434, allocations: 81.55 kB / 446.2 MB, free: 0.5234 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.7487, allocations: 1.56 MB / 447.8 MB, free: 14.95 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 7.752e-06/0.7489, allocations: 4.188 kB / 447.8 MB, free: 14.95 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005304/0.7542, allocations: 1.165 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.0008956/0.7552, allocations: 86.03 kB / 449 MB, free: 13.69 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.7645, allocations: 2.089 MB / 451.1 MB, free: 11.61 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.7654, allocations: 1.017 MB / 452.1 MB, free: 10.57 MB / 360.6 MB Notification: Performance of SimCode: time 2.235e-06/0.7655, allocations: 0 / 452.1 MB, free: 10.57 MB / 360.6 MB Notification: Performance of Templates: time 0.1228/0.8884, allocations: 28.1 MB / 480.2 MB, free: 14.52 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