Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.846e-05, allocations: 7.984 kB / 354.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.203, allocations: 44.52 MB / 399.1 MB, free: 84.05 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.313, allocations: 97.14 MB / 496.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.3133, allocations: 71.95 kB / 496.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6094/0.9227, allocations: 120.1 MB / 0.602 GB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.08e-06/0.9228, allocations: 0 / 0.602 GB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.284e-05/0.9228, allocations: 44 kB / 0.602 GB, free: 10.8 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.006205/0.929, allocations: 2.782 MB / 0.6047 GB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.9291, allocations: 12.03 kB / 0.6048 GB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008952/0.93, allocations: 395.2 kB / 0.6051 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006242/0.9363, allocations: 2.376 MB / 0.6074 GB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.9364, allocations: 21.31 kB / 0.6075 GB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.9366, allocations: 35.91 kB / 0.6075 GB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00194/0.9386, allocations: 0.69 MB / 0.6082 GB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.9405, allocations: 0.7206 MB / 0.6089 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.9406, allocations: 0 / 0.6089 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.9407, allocations: 0 / 0.6089 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.9408, allocations: 27.98 kB / 0.6089 GB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007843/0.9486, allocations: 3.069 MB / 0.6119 GB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.9495, allocations: 475.9 kB / 0.6124 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009603/0.9505, allocations: 0.5654 MB / 0.6129 GB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04649/0.997, allocations: 36.16 MB / 0.6482 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000631/0.9977, allocations: 313.3 kB / 0.6485 GB, free: 5.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 3.477e-06/0.9977, allocations: 0 / 0.6485 GB, free: 5.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001641/0.9993, allocations: 0.7782 MB / 0.6493 GB, free: 4.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.9995, allocations: 269 kB / 0.6495 GB, free: 4.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/1.004, allocations: 2.318 MB / 0.6518 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.004, allocations: 25.7 kB / 0.6518 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002319/1.007, allocations: 1.501 MB / 0.6533 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/1.007, allocations: 165.7 kB / 0.6535 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/1.007, allocations: 3.938 kB / 0.6535 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/1.007, allocations: 345.9 kB / 0.6538 GB, free: 280 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/1.008, allocations: 174.6 kB / 0.654 GB, free: 104 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1607/1.169, allocations: 0.5686 MB / 0.6545 GB, free: 88.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/1.17, allocations: 268.5 kB / 0.6548 GB, free: 88.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/1.17, allocations: 3.375 kB / 0.6548 GB, free: 88.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00394/1.174, allocations: 1.027 MB / 0.6558 GB, free: 88.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/1.174, allocations: 12.91 kB / 0.6558 GB, free: 88.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000222/1.174, allocations: 79.97 kB / 0.6559 GB, free: 88.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-05/1.174, allocations: 27.69 kB / 0.6559 GB, free: 88.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.176, allocations: 210 kB / 0.6561 GB, free: 88.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/1.176, allocations: 28.09 kB / 0.6561 GB, free: 88.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/1.179, allocations: 111.1 kB / 0.6562 GB, free: 88.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/1.179, allocations: 60.75 kB / 0.6563 GB, free: 88.55 MB / 398.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.0003072/1.18, allocations: 147.9 kB / 0.6564 GB, free: 88.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/1.18, allocations: 387.5 kB / 0.6568 GB, free: 88.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006314/1.187, allocations: 1.114 MB / 0.6579 GB, free: 88.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.187, allocations: 7.094 kB / 0.6579 GB, free: 88.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.176e-06/1.187, allocations: 0.9844 kB / 0.6579 GB, free: 88.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.187, allocations: 7.469 kB / 0.6579 GB, free: 88.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/1.193, allocations: 2.004 MB / 0.6598 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001955/1.193, allocations: 69.28 kB / 0.6599 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.195, allocations: 117.1 kB / 0.66 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.195, allocations: 0 / 0.66 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.195, allocations: 31.44 kB / 0.6601 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.195, allocations: 0 / 0.6601 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.332e-06/1.195, allocations: 7 kB / 0.6601 GB, free: 87.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05205/1.247, allocations: 14.47 MB / 0.6742 GB, free: 84.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.249, allocations: 0.5586 MB / 0.6747 GB, free: 83.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007927/1.249, allocations: 17.22 kB / 0.6748 GB, free: 83.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.252, allocations: 34.05 kB / 0.6748 GB, free: 83.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.252, allocations: 61.97 kB / 0.6748 GB, free: 83.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.252, allocations: 35.81 kB / 0.6749 GB, free: 83.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005309/1.257, allocations: 1.723 MB / 0.6766 GB, free: 83.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.377e-06/1.257, allocations: 0 / 0.6766 GB, free: 83.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007338/1.265, allocations: 1.53 MB / 0.6781 GB, free: 83.76 MB / 398.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.006337/1.271, allocations: 1.925 MB / 0.6799 GB, free: 83.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/1.273, allocations: 0.6686 MB / 0.6806 GB, free: 83.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.403e-06/1.273, allocations: 0 / 0.6806 GB, free: 83.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008182/1.274, allocations: 391.1 kB / 0.681 GB, free: 83.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.277, allocations: 499.4 kB / 0.6814 GB, free: 83.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/1.287, allocations: 3.645 MB / 0.685 GB, free: 82.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.289, allocations: 1.748 MB / 0.6867 GB, free: 81.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002778/1.291, allocations: 383.5 kB / 0.6871 GB, free: 81.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/1.292, allocations: 160.5 kB / 0.6872 GB, free: 81.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.969e-06/1.292, allocations: 0 / 0.6872 GB, free: 81.25 MB / 398.1 MB Notification: Performance of Templates: time 0.1815/1.474, allocations: 59.01 MB / 0.7448 GB, free: 42.58 MB / 398.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_InvertersApartRecord -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.InvertersApartRecord.o Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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_InvertersApartRecord -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.InvertersApartRecord_functions.o Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.c Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.c:318:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.c:1814:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.c:1990:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1991:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1992:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1993:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1994:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1995:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1996:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1997:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1998:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:1999:11683: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2000:11685: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2001:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2002:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2003:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2004:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2005:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.c:2006:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.h:337: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.InvertersApartRecord_functions.o' failed make: *** [Modelica.Electrical.Spice3.Examples.InvertersApartRecord_functions.o] Error 1