Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.724e-05, allocations: 4.766 kB / 354.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 44.53 MB / 399.1 MB, free: 84.04 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.3621, allocations: 97.16 MB / 496.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3624, allocations: 71.97 kB / 496.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4885/0.8509, allocations: 121.9 MB / 0.6038 GB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.818e-06/0.8509, allocations: 0 / 0.6038 GB, free: 9.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.295e-05/0.851, allocations: 48 kB / 0.6038 GB, free: 9.246 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00431/0.8553, allocations: 2.864 MB / 0.6066 GB, free: 6.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.8554, allocations: 12.03 kB / 0.6066 GB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.8559, allocations: 422.9 kB / 0.607 GB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.8603, allocations: 2.422 MB / 0.6094 GB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.8604, allocations: 25.31 kB / 0.6094 GB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.8605, allocations: 43.89 kB / 0.6095 GB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/0.8618, allocations: 0.6821 MB / 0.6101 GB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.8631, allocations: 0.7208 MB / 0.6109 GB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.8631, allocations: 0 / 0.6109 GB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.8632, allocations: 8 kB / 0.6109 GB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8632, allocations: 19.98 kB / 0.6109 GB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006738/0.87, allocations: 3.171 MB / 0.614 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.8709, allocations: 471.8 kB / 0.6144 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009628/0.8719, allocations: 0.5732 MB / 0.615 GB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1931/1.065, allocations: 36.18 MB / 0.6503 GB, free: 65.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/1.066, allocations: 307.5 kB / 0.6506 GB, free: 65.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 3.656e-06/1.066, allocations: 0 / 0.6506 GB, free: 65.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001417/1.067, allocations: 0.8046 MB / 0.6514 GB, free: 65.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/1.067, allocations: 267.2 kB / 0.6516 GB, free: 64.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/1.071, allocations: 2.458 MB / 0.654 GB, free: 64.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/1.071, allocations: 28.05 kB / 0.6541 GB, free: 64.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.073, allocations: 1.579 MB / 0.6556 GB, free: 64.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/1.073, allocations: 167 kB / 0.6558 GB, free: 64.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/1.073, allocations: 0 / 0.6558 GB, free: 64.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/1.073, allocations: 344.1 kB / 0.6561 GB, free: 64.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/1.073, allocations: 171.5 kB / 0.6563 GB, free: 64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/1.074, allocations: 0.5771 MB / 0.6568 GB, free: 63.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/1.074, allocations: 263.9 kB / 0.6571 GB, free: 63.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.199e-06/1.074, allocations: 3.562 kB / 0.6571 GB, free: 63.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001842/1.076, allocations: 1.052 MB / 0.6581 GB, free: 63.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.076, allocations: 17.78 kB / 0.6581 GB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.077, allocations: 79.69 kB / 0.6582 GB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/1.077, allocations: 18.94 kB / 0.6582 GB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/1.077, allocations: 212.6 kB / 0.6584 GB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/1.077, allocations: 26.66 kB / 0.6585 GB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.079, allocations: 108.6 kB / 0.6586 GB, free: 63.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.079, allocations: 63.06 kB / 0.6586 GB, free: 63.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001945/1.079, allocations: 154.5 kB / 0.6588 GB, free: 63.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/1.08, allocations: 402.9 kB / 0.6592 GB, free: 62.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/1.083, allocations: 1.134 MB / 0.6603 GB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/1.083, allocations: 3.938 kB / 0.6603 GB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.227e-06/1.083, allocations: 0 / 0.6603 GB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-06/1.083, allocations: 3.938 kB / 0.6603 GB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/1.087, allocations: 2.088 MB / 0.6623 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/1.087, allocations: 69.34 kB / 0.6624 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/1.088, allocations: 107.2 kB / 0.6625 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.863e-06/1.088, allocations: 2.906 kB / 0.6625 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/1.088, allocations: 29.27 kB / 0.6625 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.271e-06/1.088, allocations: 3.906 kB / 0.6625 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.088, allocations: 0 / 0.6625 GB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02891/1.117, allocations: 14.82 MB / 0.677 GB, free: 58.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/1.118, allocations: 0.518 MB / 0.6775 GB, free: 58.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004569/1.118, allocations: 3.938 kB / 0.6775 GB, free: 58.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.12, allocations: 35.23 kB / 0.6775 GB, free: 58.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.12, allocations: 70.44 kB / 0.6776 GB, free: 58.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/1.12, allocations: 41.78 kB / 0.6776 GB, free: 58.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003078/1.123, allocations: 1.816 MB / 0.6794 GB, free: 58.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.16e-07/1.123, allocations: 0 / 0.6794 GB, free: 58.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003784/1.127, allocations: 1.547 MB / 0.6809 GB, free: 58.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003701/1.13, allocations: 1.981 MB / 0.6828 GB, free: 58.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/1.132, allocations: 0.6718 MB / 0.6835 GB, free: 58.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.256e-06/1.132, allocations: 5.625 kB / 0.6835 GB, free: 58.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005418/1.132, allocations: 385 kB / 0.6839 GB, free: 57.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.134, allocations: 0.5119 MB / 0.6844 GB, free: 57.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/1.141, allocations: 3.78 MB / 0.6881 GB, free: 56.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.142, allocations: 1.8 MB / 0.6898 GB, free: 55.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001686/1.144, allocations: 387.3 kB / 0.6902 GB, free: 55.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/1.144, allocations: 165.5 kB / 0.6904 GB, free: 55.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.282e-06/1.144, allocations: 0 / 0.6904 GB, free: 55.73 MB / 382.1 MB Notification: Performance of Templates: time 0.1435/1.288, allocations: 60.06 MB / 0.749 GB, free: 9.945 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -I"/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Electrical_Spice3_Examples_InvertersExtendedModel -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.Electrical.Spice3.Examples.InvertersExtendedModel.o Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c clang -Os -fPIC -mfpmath=sse -I"/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Electrical_Spice3_Examples_InvertersExtendedModel -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.Electrical.Spice3.Examples.InvertersExtendedModel_functions.o Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:318:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1814:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1990:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1991:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1992:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1993:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1994:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1995:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1996:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1997:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1998:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:1999:11683: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2000:11685: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2001:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2002:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2003:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2004:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2005:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.c:2006:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.h:345:1: note: 'omc_Modelica_Electrical_Spice3_Internal_SpiceConstants' declared here Modelica_Electrical_Spice3_Internal_SpiceConstants omc_Modelica_Electrical_Spice3_Internal_SpiceConstants (threadData_t *threadData); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.o' failed make: *** [Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_functions.o] Error 1