Notification: Performance of loadModel(Modelica): time 1.525/1.525, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.027e-05, allocations: 1.281 kB / 247.4 MB, free: 4.711 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06083/0.06091, allocations: 44.37 MB / 291.7 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.2859, allocations: 76.11 MB / 367.8 MB, free: 6.938 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.2862, allocations: 84.42 kB / 367.9 MB, free: 6.934 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05346/0.3397, allocations: 15.43 MB / 383.3 MB, free: 2.098 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.3399, allocations: 15.56 kB / 383.4 MB, free: 2.094 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001928/0.3419, allocations: 0.7551 MB / 384.1 MB, free: 1.52 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.342, allocations: 7.781 kB / 384.1 MB, free: 1.52 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.347, allocations: 470.3 kB / 384.6 MB, free: 1.348 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.3477, allocations: 317.4 kB / 384.9 MB, free: 1.082 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.3478, allocations: 18.94 kB / 384.9 MB, free: 1.082 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3479, allocations: 30.91 kB / 384.9 MB, free: 1.082 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001228/0.3492, allocations: 0.5689 MB / 385.5 MB, free: 1.035 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.3502, allocations: 428 kB / 385.9 MB, free: 0.9297 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.3503, allocations: 7.844 kB / 385.9 MB, free: 0.9258 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.3504, allocations: 0 / 385.9 MB, free: 0.9258 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3505, allocations: 19.39 kB / 385.9 MB, free: 0.9219 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.3544, allocations: 2.114 MB / 388.1 MB, free: 15.62 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.3554, allocations: 428.5 kB / 388.5 MB, free: 15.58 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.3558, allocations: 176.5 kB / 388.7 MB, free: 15.57 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.356, allocations: 99.56 kB / 388.7 MB, free: 15.46 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3561, allocations: 38.5 kB / 388.8 MB, free: 15.42 MB / 312.6 MB Notification: Performance of pre-optimization done (n=49): time 4.051e-06/0.3562, allocations: 0 / 388.8 MB, free: 15.42 MB / 312.6 MB Notification: Performance of matching and sorting (n=49): time 0.001483/0.3577, allocations: 446.7 kB / 389.2 MB, free: 15.32 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3578, allocations: 55.72 kB / 389.3 MB, free: 15.25 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3581, allocations: 165.1 kB / 389.4 MB, free: 15.14 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3582, allocations: 29.61 kB / 389.5 MB, free: 15.11 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3584, allocations: 240.9 kB / 389.7 MB, free: 14.91 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3586, allocations: 155.5 kB / 389.9 MB, free: 14.79 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3587, allocations: 0 / 389.9 MB, free: 14.79 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.359, allocations: 336.3 kB / 390.2 MB, free: 14.47 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.3593, allocations: 144.5 kB / 390.3 MB, free: 14.47 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.3597, allocations: 255.7 kB / 390.6 MB, free: 14.34 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.3606, allocations: 196.8 kB / 390.8 MB, free: 14.3 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.634e-06/0.3607, allocations: 1.281 kB / 390.8 MB, free: 14.3 MB / 312.6 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001685/0.3624, allocations: 0.5416 MB / 391.3 MB, free: 14.18 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3625, allocations: 13 kB / 391.3 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3626, allocations: 2.688 kB / 391.3 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.3631, allocations: 93.97 kB / 391.4 MB, free: 14.14 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.3638, allocations: 108.1 kB / 391.5 MB, free: 14.12 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.366, allocations: 1.742 MB / 393.3 MB, free: 12.73 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.3668, allocations: 41.06 kB / 393.3 MB, free: 12.71 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.3669, allocations: 25.27 kB / 393.3 MB, free: 12.7 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.367, allocations: 79.19 kB / 393.4 MB, free: 12.62 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.3672, allocations: 28.44 kB / 393.4 MB, free: 12.61 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.3688, allocations: 0.5163 MB / 393.9 MB, free: 12.47 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3689, allocations: 13.03 kB / 394 MB, free: 12.46 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-06/0.369, allocations: 2.625 kB / 394 MB, free: 12.46 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-06/0.3691, allocations: 3.984 kB / 394 MB, free: 12.46 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.3713, allocations: 1.087 MB / 395.1 MB, free: 11.91 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.447e-06/0.3714, allocations: 4 kB / 395.1 MB, free: 11.91 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.372, allocations: 82.61 kB / 395.1 MB, free: 11.89 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.3724, allocations: 85.41 kB / 395.2 MB, free: 11.87 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.3725, allocations: 5.812 kB / 395.2 MB, free: 11.87 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.3748, allocations: 1.732 MB / 397 MB, free: 10.48 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/0.375, allocations: 5.281 kB / 397 MB, free: 10.48 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001778/0.3768, allocations: 0.753 MB / 397.7 MB, free: 10.26 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.377, allocations: 110.4 kB / 397.8 MB, free: 10.14 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.3771, allocations: 5.516 kB / 397.8 MB, free: 10.14 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.3775, allocations: 18.34 kB / 397.9 MB, free: 10.13 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.3777, allocations: 33.14 kB / 397.9 MB, free: 10.12 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3778, allocations: 16.66 kB / 397.9 MB, free: 10.11 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001225/0.378, allocations: 127.9 kB / 398 MB, free: 10.03 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0009084/0.3789, allocations: 141.2 kB / 398.2 MB, free: 10 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.3792, allocations: 102.8 kB / 398.3 MB, free: 9.938 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.3804, allocations: 0.5278 MB / 398.8 MB, free: 9.793 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.702e-06/0.3805, allocations: 0.9688 kB / 398.8 MB, free: 9.793 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.3812, allocations: 336 kB / 399.1 MB, free: 9.668 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3816, allocations: 14.12 kB / 399.1 MB, free: 9.664 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.3858, allocations: 1.044 MB / 400.2 MB, free: 9.266 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/0.3866, allocations: 0.8617 MB / 401 MB, free: 8.492 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3867, allocations: 3.938 kB / 401 MB, free: 8.488 MB / 312.6 MB Notification: Performance of Templates: time 0.05343/0.4402, allocations: 5.168 MB / 406.2 MB, free: 5.941 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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_QuasiStationary_SinglePhase_Examples_SeriesResonance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.o Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_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.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:945:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:946:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:950:19: warning: implicit declaration of function 'O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_77' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_77(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:950:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_77(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:952:19: warning: implicit declaration of function 'O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:952:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:954:19: warning: implicit declaration of function 'O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:954:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 9 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.o] Error 1