Notification: Performance of loadModel(Modelica): time 1.549/1.549, allocations: 194.5 MB / 200.7 MB, free: 5.133 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.079e-06/9.149e-06, allocations: 1.219 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06299/0.06307, allocations: 44.36 MB / 291.7 MB, free: 9.262 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.2938, allocations: 75.98 MB / 367.7 MB, free: 7.004 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.2941, allocations: 85.72 kB / 367.8 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03531/0.3295, allocations: 9.315 MB / 377.1 MB, free: 4.773 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.3296, allocations: 9.125 kB / 377.1 MB, free: 4.773 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001281/0.331, allocations: 0.6432 MB / 377.7 MB, free: 4.254 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3311, allocations: 7.781 kB / 377.7 MB, free: 4.254 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.332, allocations: 88.69 kB / 377.8 MB, free: 4.219 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.3325, allocations: 300.7 kB / 378.1 MB, free: 3.965 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3326, allocations: 15.44 kB / 378.1 MB, free: 3.961 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.3328, allocations: 19.41 kB / 378.2 MB, free: 3.961 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005223/0.3333, allocations: 211.7 kB / 378.4 MB, free: 3.945 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.334, allocations: 278.6 kB / 378.6 MB, free: 3.848 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.334, allocations: 3.844 kB / 378.6 MB, free: 3.848 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.3341, allocations: 3.938 kB / 378.6 MB, free: 3.844 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3342, allocations: 7.781 kB / 378.7 MB, free: 3.844 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.3368, allocations: 1.309 MB / 380 MB, free: 2.965 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3372, allocations: 142.4 kB / 380.1 MB, free: 2.91 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3374, allocations: 66.62 kB / 380.2 MB, free: 2.895 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.3384, allocations: 0.876 MB / 381 MB, free: 18.02 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3385, allocations: 37.53 kB / 381.1 MB, free: 17.98 MB / 312.6 MB Notification: Performance of pre-optimization done (n=13): time 4.61e-06/0.3385, allocations: 0 / 381.1 MB, free: 17.98 MB / 312.6 MB Notification: Performance of matching and sorting (n=13): time 0.0003731/0.339, allocations: 123.5 kB / 381.2 MB, free: 17.92 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3391, allocations: 80.23 kB / 381.3 MB, free: 17.83 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3394, allocations: 234.7 kB / 381.5 MB, free: 17.7 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3395, allocations: 29.7 kB / 381.5 MB, free: 17.67 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3397, allocations: 221.7 kB / 381.8 MB, free: 17.48 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.3398, allocations: 50.77 kB / 381.8 MB, free: 17.45 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.3399, allocations: 0 / 381.8 MB, free: 17.45 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.3402, allocations: 338.2 kB / 382.1 MB, free: 17.13 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3403, allocations: 38.19 kB / 382.2 MB, free: 17.13 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3405, allocations: 178.6 kB / 382.3 MB, free: 16.95 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3408, allocations: 73.36 kB / 382.4 MB, free: 16.94 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.958e-06/0.3408, allocations: 0 / 382.4 MB, free: 16.94 MB / 312.6 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006216/0.3415, allocations: 236.8 kB / 382.6 MB, free: 16.85 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3416, allocations: 3.875 kB / 382.6 MB, free: 16.85 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3417, allocations: 3.875 kB / 382.7 MB, free: 16.85 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.3419, allocations: 7.781 kB / 382.7 MB, free: 16.85 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.3426, allocations: 76.88 kB / 382.7 MB, free: 16.83 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.3426, allocations: 7.656 kB / 382.7 MB, free: 16.83 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.343, allocations: 42.98 kB / 382.8 MB, free: 16.8 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3431, allocations: 15.75 kB / 382.8 MB, free: 16.8 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.3432, allocations: 75.28 kB / 382.9 MB, free: 16.73 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3434, allocations: 23.03 kB / 382.9 MB, free: 16.72 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.3435, allocations: 28.92 kB / 382.9 MB, free: 16.71 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-06/0.3436, allocations: 3.844 kB / 382.9 MB, free: 16.71 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.775e-06/0.3437, allocations: 3.906 kB / 382.9 MB, free: 16.71 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-06/0.3438, allocations: 0 / 382.9 MB, free: 16.71 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.3445, allocations: 445.2 kB / 383.4 MB, free: 16.37 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-06/0.3446, allocations: 7.734 kB / 383.4 MB, free: 16.36 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.3449, allocations: 39.08 kB / 383.4 MB, free: 16.36 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.285e-06/0.345, allocations: 0 / 383.4 MB, free: 16.36 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3451, allocations: 3.875 kB / 383.4 MB, free: 16.36 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.561e-06/0.3451, allocations: 4.031 kB / 383.4 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.191e-06/0.3452, allocations: 96 / 383.4 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003845/0.3456, allocations: 386.5 kB / 383.8 MB, free: 16.07 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.3458, allocations: 96.67 kB / 383.9 MB, free: 15.96 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.3459, allocations: 7.938 kB / 383.9 MB, free: 15.96 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.3465, allocations: 19.48 kB / 383.9 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.3466, allocations: 14.52 kB / 383.9 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3467, allocations: 3.875 kB / 383.9 MB, free: 15.95 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000187/0.3469, allocations: 191.6 kB / 384.1 MB, free: 15.85 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006381/0.3476, allocations: 69.81 kB / 384.2 MB, free: 15.84 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.3478, allocations: 84.73 kB / 384.3 MB, free: 15.77 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.3482, allocations: 135.2 kB / 384.4 MB, free: 15.75 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.26e-06/0.3483, allocations: 0 / 384.4 MB, free: 15.75 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3484, allocations: 50.05 kB / 384.5 MB, free: 15.75 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3489, allocations: 15.7 kB / 384.5 MB, free: 15.74 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.35, allocations: 440.2 kB / 384.9 MB, free: 15.45 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.3504, allocations: 0.8092 MB / 385.7 MB, free: 14.7 MB / 312.6 MB Notification: Performance of SimCode: time 2.026e-06/0.3504, allocations: 0 / 385.7 MB, free: 14.7 MB / 312.6 MB Notification: Performance of Templates: time 0.04477/0.3953, allocations: 2.017 MB / 387.7 MB, free: 13.66 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance -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_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:339:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_eqFunction_45(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:340:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_eqFunction_47(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:341:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_eqFunction_48(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:342:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_eqFunction_37(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.c:343:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_eqFunction_38(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_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.o] Error 1