Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.766e-05, allocations: 4 kB / 354.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1966, allocations: 44.52 MB / 399.2 MB, free: 84.03 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.305, allocations: 97.29 MB / 496.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3052, allocations: 71.97 kB / 496.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8538/1.159, allocations: 186.7 MB / 0.6672 GB, free: 48.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/1.159, allocations: 3.969 kB / 0.6672 GB, free: 48.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.983e-05/1.159, allocations: 82.44 kB / 0.6673 GB, free: 48.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.007195/1.166, allocations: 4.761 MB / 0.672 GB, free: 46.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.166, allocations: 10.94 kB / 0.672 GB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/1.167, allocations: 0.7458 MB / 0.6727 GB, free: 46.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008366/1.176, allocations: 4.51 MB / 0.6771 GB, free: 45.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/1.176, allocations: 36.84 kB / 0.6771 GB, free: 45.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/1.176, allocations: 68.72 kB / 0.6772 GB, free: 45 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002465/1.179, allocations: 1.314 MB / 0.6785 GB, free: 45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/1.181, allocations: 1.322 MB / 0.6798 GB, free: 44.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.181, allocations: 3.156 kB / 0.6798 GB, free: 44.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.181, allocations: 3.812 kB / 0.6798 GB, free: 44.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/1.181, allocations: 41.56 kB / 0.6798 GB, free: 44.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/1.193, allocations: 5.657 MB / 0.6854 GB, free: 44.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/1.194, allocations: 0.8511 MB / 0.6862 GB, free: 44.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/1.196, allocations: 1.117 MB / 0.6873 GB, free: 44.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08475/1.281, allocations: 71.88 MB / 0.7575 GB, free: 23.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/1.282, allocations: 0.4906 MB / 0.758 GB, free: 23.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=85): time 4.347e-06/1.282, allocations: 0 / 0.758 GB, free: 23.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.00264/1.284, allocations: 1.421 MB / 0.7593 GB, free: 22.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/1.284, allocations: 482.7 kB / 0.7598 GB, free: 21.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007091/1.292, allocations: 4.415 MB / 0.7641 GB, free: 18.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.292, allocations: 25.7 kB / 0.7641 GB, free: 18.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002643/1.294, allocations: 2.928 MB / 0.767 GB, free: 18.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/1.295, allocations: 297.2 kB / 0.7673 GB, free: 17.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/1.295, allocations: 0 / 0.7673 GB, free: 17.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/1.295, allocations: 362.6 kB / 0.7676 GB, free: 17.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/1.296, allocations: 313.5 kB / 0.7679 GB, free: 17.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/1.297, allocations: 1.086 MB / 0.769 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.298, allocations: 493 kB / 0.7695 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/1.298, allocations: 11.47 kB / 0.7695 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003454/1.301, allocations: 1.918 MB / 0.7713 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/1.301, allocations: 12 kB / 0.7713 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002207/1.301, allocations: 165.7 kB / 0.7715 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.713e-05/1.301, allocations: 36 kB / 0.7715 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.303, allocations: 370.3 kB / 0.7719 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/1.303, allocations: 45.12 kB / 0.7719 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/1.306, allocations: 183.1 kB / 0.7721 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.306, allocations: 123.8 kB / 0.7722 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0003315/1.306, allocations: 181.7 kB / 0.7724 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007689/1.307, allocations: 0.7248 MB / 0.7731 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00659/1.314, allocations: 2.087 MB / 0.7752 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.314, allocations: 11.94 kB / 0.7752 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.663e-06/1.314, allocations: 0 / 0.7752 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.422e-06/1.314, allocations: 3.844 kB / 0.7752 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/1.321, allocations: 3.554 MB / 0.7786 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002363/1.322, allocations: 139.6 kB / 0.7788 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/1.323, allocations: 164.6 kB / 0.7789 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.323, allocations: 4 kB / 0.7789 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1.323, allocations: 47.8 kB / 0.779 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/1.323, allocations: 11.28 kB / 0.779 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.009e-06/1.323, allocations: 2.25 kB / 0.779 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4502/1.773, allocations: 26.8 MB / 0.8052 GB, free: 87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/1.775, allocations: 0.9328 MB / 0.8061 GB, free: 86.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.777, allocations: 3.688 kB / 0.8061 GB, free: 86.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.78, allocations: 42.28 kB / 0.8061 GB, free: 86.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/1.78, allocations: 99.22 kB / 0.8062 GB, free: 86.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.78, allocations: 76.73 kB / 0.8063 GB, free: 86.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007781/1.788, allocations: 3.251 MB / 0.8095 GB, free: 86.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.657e-06/1.788, allocations: 2.438 kB / 0.8095 GB, free: 86.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01366/1.802, allocations: 2.82 MB / 0.8122 GB, free: 86.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0121/1.814, allocations: 3.138 MB / 0.8153 GB, free: 86.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/1.818, allocations: 1.244 MB / 0.8165 GB, free: 85.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.818, allocations: 3.406 kB / 0.8165 GB, free: 85.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.82, allocations: 0.701 MB / 0.8172 GB, free: 85.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00826/1.828, allocations: 0.9612 MB / 0.8181 GB, free: 85.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.849, allocations: 6.9 MB / 0.8249 GB, free: 83.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00391/1.853, allocations: 2.743 MB / 0.8275 GB, free: 82.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.006239/1.859, allocations: 0.7387 MB / 0.8283 GB, free: 82.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.86, allocations: 311.4 kB / 0.8286 GB, free: 82.37 MB / 430.1 MB Notification: Performance of SimCode: time 2.001e-06/1.86, allocations: 0 / 0.8286 GB, free: 82.37 MB / 430.1 MB Notification: Performance of Templates: time 0.248/2.108, allocations: 109.4 MB / 0.9354 GB, free: 10.01 MB / 430.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_FourInverters -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.FourInverters.o Modelica.Electrical.Spice3.Examples.FourInverters.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_FourInverters -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.FourInverters_functions.o Modelica.Electrical.Spice3.Examples.FourInverters_functions.c Modelica.Electrical.Spice3.Examples.FourInverters_functions.c:318:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.FourInverters_functions.c:1814:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.FourInverters_functions.c:1990:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1991:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1992:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1993:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1994:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1995:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1996:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1997:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1998:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:1999:11683: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2000:11685: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2001:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2002:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2003:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2004:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2005:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.c:2006:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.FourInverters_functions.h:369: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.FourInverters_functions.o' failed make: *** [Modelica.Electrical.Spice3.Examples.FourInverters_functions.o] Error 1