Notification: Performance of loadModel(Modelica): time 1.514/1.514, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.87e-06, allocations: 1.312 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06157/0.06165, allocations: 44.36 MB / 291.7 MB, free: 9.312 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.2894, allocations: 74.48 MB / 366.2 MB, free: 6.992 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.2897, allocations: 72.33 kB / 366.2 MB, free: 6.988 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04162/0.3314, allocations: 10.05 MB / 376.3 MB, free: 4.801 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.3316, allocations: 14.56 kB / 376.3 MB, free: 4.801 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.003089/0.3347, allocations: 1.121 MB / 377.4 MB, free: 4.043 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3349, allocations: 7.844 kB / 377.4 MB, free: 4.043 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.3352, allocations: 73.84 kB / 377.5 MB, free: 4.008 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.336, allocations: 432.2 kB / 377.9 MB, free: 3.703 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.3361, allocations: 19.25 kB / 378 MB, free: 3.703 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3363, allocations: 34.95 kB / 378 MB, free: 3.699 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/0.3378, allocations: 0.5633 MB / 378.6 MB, free: 3.676 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3392, allocations: 0.65 MB / 379.2 MB, free: 3.395 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3393, allocations: 0 / 379.2 MB, free: 3.395 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/0.3395, allocations: 3.969 kB / 379.2 MB, free: 3.395 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.3395, allocations: 15.62 kB / 379.2 MB, free: 3.391 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.3458, allocations: 3.119 MB / 382.3 MB, free: 17.52 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.3469, allocations: 426.3 kB / 382.8 MB, free: 17.48 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.3475, allocations: 252.4 kB / 383 MB, free: 17.47 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.3476, allocations: 15.12 kB / 383 MB, free: 17.47 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006233/0.3483, allocations: 304.9 kB / 383.3 MB, free: 17.37 MB / 312.6 MB Notification: Performance of pre-optimization done (n=50): time 4.68e-06/0.3483, allocations: 0 / 383.3 MB, free: 17.37 MB / 312.6 MB Notification: Performance of matching and sorting (n=50): time 0.001258/0.3496, allocations: 482.9 kB / 383.8 MB, free: 17.27 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/0.35, allocations: 272.7 kB / 384.1 MB, free: 16.96 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.3506, allocations: 404.9 kB / 384.4 MB, free: 16.81 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 9.45e-05/0.3508, allocations: 25.7 kB / 384.5 MB, free: 16.78 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.351, allocations: 290.3 kB / 384.8 MB, free: 16.55 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3512, allocations: 162 kB / 384.9 MB, free: 16.43 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.3513, allocations: 4 kB / 384.9 MB, free: 16.43 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.3515, allocations: 362.7 kB / 385.3 MB, free: 16.1 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.3521, allocations: 238.3 kB / 385.5 MB, free: 16.1 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.3529, allocations: 491.2 kB / 386 MB, free: 15.78 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.3535, allocations: 267.2 kB / 386.2 MB, free: 15.73 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.704e-06/0.3536, allocations: 3.875 kB / 386.2 MB, free: 15.73 MB / 312.6 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001695/0.3554, allocations: 0.708 MB / 387 MB, free: 15.58 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3555, allocations: 3.875 kB / 387 MB, free: 15.58 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3556, allocations: 8.562 kB / 387 MB, free: 15.58 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.3556, allocations: 11.62 kB / 387 MB, free: 15.58 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.3574, allocations: 273.2 kB / 387.2 MB, free: 15.5 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.3575, allocations: 11.72 kB / 387.3 MB, free: 15.5 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3592, allocations: 225.7 kB / 387.5 MB, free: 15.41 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.3594, allocations: 31.02 kB / 387.5 MB, free: 15.4 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.3596, allocations: 82.91 kB / 387.6 MB, free: 15.33 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.3598, allocations: 62.31 kB / 387.7 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.36, allocations: 61.75 kB / 387.7 MB, free: 15.27 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-06/0.3601, allocations: 3.906 kB / 387.7 MB, free: 15.27 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.079e-06/0.3602, allocations: 0 / 387.7 MB, free: 15.27 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.73e-06/0.3602, allocations: 3.969 kB / 387.7 MB, free: 15.27 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.3611, allocations: 0.6256 MB / 388.3 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3612, allocations: 0 / 388.3 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.3625, allocations: 204.5 kB / 388.5 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3626, allocations: 0 / 388.5 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.3627, allocations: 7.719 kB / 388.6 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.101e-06/0.3628, allocations: 11.77 kB / 388.6 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.051e-06/0.3629, allocations: 0 / 388.6 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0018/0.3647, allocations: 0.7947 MB / 389.4 MB, free: 14.74 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.365, allocations: 143.5 kB / 389.5 MB, free: 14.61 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.3652, allocations: 7.875 kB / 389.5 MB, free: 14.6 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.3664, allocations: 162.9 kB / 389.7 MB, free: 14.54 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.3667, allocations: 50.08 kB / 389.7 MB, free: 14.52 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.3668, allocations: 15.33 kB / 389.7 MB, free: 14.52 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0004253/0.3673, allocations: 301.8 kB / 390 MB, free: 14.41 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008238/0.3682, allocations: 149.4 kB / 390.2 MB, free: 14.4 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.3683, allocations: 75.69 kB / 390.2 MB, free: 14.34 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3699, allocations: 0.6368 MB / 390.9 MB, free: 14.23 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.658e-06/0.37, allocations: 1.281 kB / 390.9 MB, free: 14.23 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.3707, allocations: 273.1 kB / 391.1 MB, free: 14.22 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.3715, allocations: 64.52 kB / 391.2 MB, free: 14.21 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3743, allocations: 0.8516 MB / 392.1 MB, free: 13.82 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/0.3753, allocations: 0.9321 MB / 393 MB, free: 13.03 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.3754, allocations: 0 / 393 MB, free: 13.03 MB / 312.6 MB Notification: Performance of Templates: time 0.05496/0.4304, allocations: 8.554 MB / 401.5 MB, free: 8.785 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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_NandGate -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_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.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_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.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.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_NandGate_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.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:1300:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_99(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:1301:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_104(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:1302:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_105(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:1303:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_106(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.c:1304:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_107(DATA* data, threadData_t *threadData); ^ ; 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.NandGate.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.NandGate.o] Error 1