Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.843e-05, allocations: 5.453 kB / 354.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 44.51 MB / 399.1 MB, free: 84.04 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.3339, allocations: 97.22 MB / 496.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.3342, allocations: 71.97 kB / 496.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5948/0.929, allocations: 118.8 MB / 0.6008 GB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.977e-06/0.929, allocations: 0 / 0.6008 GB, free: 12.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.701e-05/0.9291, allocations: 43.94 kB / 0.6008 GB, free: 12.43 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004441/0.9335, allocations: 2.716 MB / 0.6035 GB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.9336, allocations: 8.031 kB / 0.6035 GB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.9341, allocations: 391.3 kB / 0.6038 GB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.9382, allocations: 2.252 MB / 0.606 GB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.9383, allocations: 21.31 kB / 0.6061 GB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.9385, allocations: 35.98 kB / 0.6061 GB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/0.9398, allocations: 0.6821 MB / 0.6068 GB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.9411, allocations: 0.7286 MB / 0.6075 GB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.9411, allocations: 0 / 0.6075 GB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/0.9412, allocations: 4 kB / 0.6075 GB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.9412, allocations: 27.88 kB / 0.6075 GB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006037/0.9473, allocations: 2.932 MB / 0.6104 GB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.9484, allocations: 0.6303 MB / 0.611 GB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.9497, allocations: 0.8609 MB / 0.6118 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04733/0.997, allocations: 35.95 MB / 0.6469 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.9981, allocations: 0.5003 MB / 0.6474 GB, free: 7.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.357e-06/0.9982, allocations: 0 / 0.6474 GB, free: 7.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=99): time 0.008748/1.007, allocations: 3.36 MB / 0.6507 GB, free: 3.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/1.007, allocations: 277.8 kB / 0.651 GB, free: 3.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/1.011, allocations: 2.038 MB / 0.653 GB, free: 1.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/1.011, allocations: 33.7 kB / 0.653 GB, free: 1.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.013, allocations: 1.303 MB / 0.6543 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1509/1.164, allocations: 320.8 kB / 0.6546 GB, free: 89.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.164, allocations: 0.9375 kB / 0.6546 GB, free: 89.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/1.164, allocations: 348.8 kB / 0.6549 GB, free: 89.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.166, allocations: 311.9 kB / 0.6552 GB, free: 89.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/1.167, allocations: 0.52 MB / 0.6557 GB, free: 89.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.169, allocations: 363.6 kB / 0.6561 GB, free: 89.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.169, allocations: 2.094 kB / 0.6561 GB, free: 89.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00541/1.174, allocations: 1.602 MB / 0.6576 GB, free: 88.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/1.174, allocations: 7.344 kB / 0.6576 GB, free: 88.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000326/1.175, allocations: 117.6 kB / 0.6577 GB, free: 88.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/1.176, allocations: 253.2 kB / 0.658 GB, free: 88.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.178, allocations: 241.7 kB / 0.6582 GB, free: 88.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/1.191, allocations: 12.78 MB / 0.6707 GB, free: 76.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/1.194, allocations: 106.9 kB / 0.6708 GB, free: 76.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/1.195, allocations: 56.56 kB / 0.6708 GB, free: 76.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.v.counter,v.counter,$PRE.vin2.counter,vin2.counter,$PRE.vin1.counter,vin1.counter,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.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 (97): * Single equations (assignments): 83 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000459/1.195, allocations: 144.4 kB / 0.671 GB, free: 76.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009833/1.196, allocations: 380.2 kB / 0.6713 GB, free: 76.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/1.205, allocations: 1.898 MB / 0.6732 GB, free: 76.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.205, allocations: 4.719 kB / 0.6732 GB, free: 76.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/1.205, allocations: 14.59 kB / 0.6732 GB, free: 76.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/1.205, allocations: 9.25 kB / 0.6732 GB, free: 76.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/1.21, allocations: 1.442 MB / 0.6746 GB, free: 76.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00032/1.21, allocations: 113.6 kB / 0.6747 GB, free: 76.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.212, allocations: 168.2 kB / 0.6749 GB, free: 76.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/1.213, allocations: 256.4 kB / 0.6752 GB, free: 75.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002532/1.213, allocations: 36.23 kB / 0.6752 GB, free: 75.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.226, allocations: 12.78 MB / 0.6877 GB, free: 64.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.066e-06/1.226, allocations: 0 / 0.6877 GB, free: 64.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09242/1.318, allocations: 33.45 MB / 0.7203 GB, free: 47.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.32, allocations: 0.4948 MB / 0.7208 GB, free: 46.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007504/1.321, allocations: 7.125 kB / 0.7208 GB, free: 46.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.323, allocations: 108.1 kB / 0.7209 GB, free: 46.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006193/1.324, allocations: 141.6 kB / 0.7211 GB, free: 46.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.324, allocations: 54 kB / 0.7211 GB, free: 46.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004388/1.329, allocations: 1.529 MB / 0.7226 GB, free: 46.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.293e-06/1.329, allocations: 0 / 0.7226 GB, free: 46.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.008635/1.337, allocations: 1.732 MB / 0.7243 GB, free: 46.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008611/1.346, allocations: 2.111 MB / 0.7264 GB, free: 46.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004756/1.351, allocations: 2.107 MB / 0.7284 GB, free: 45.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.351, allocations: 0 / 0.7284 GB, free: 45.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/1.354, allocations: 1.716 MB / 0.7301 GB, free: 44.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/1.358, allocations: 469.7 kB / 0.7305 GB, free: 44.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.376, allocations: 5.424 MB / 0.7358 GB, free: 41.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.377, allocations: 1.772 MB / 0.7376 GB, free: 40.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001908/1.379, allocations: 348.4 kB / 0.7379 GB, free: 40.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/1.38, allocations: 146.8 kB / 0.738 GB, free: 40.66 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/1.38, allocations: 0 / 0.738 GB, free: 40.66 MB / 398.1 MB Notification: Performance of Templates: time 0.1519/1.531, allocations: 67.77 MB / 0.8042 GB, free: 0.6367 MB / 414.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_Nor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=30 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Nor.o Modelica.Electrical.Spice3.Examples.Nor.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_Nor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=30 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Nor_functions.o Modelica.Electrical.Spice3.Examples.Nor_functions.c Modelica.Electrical.Spice3.Examples.Nor_functions.c:272:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_mj == 0.5)) ~~~~^~~~~~ Modelica.Electrical.Spice3.Examples.Nor_functions.c:272:13: note: remove extraneous parentheses around the comparison to silence this warning if((_mj == 0.5)) ~ ^ ~ Modelica.Electrical.Spice3.Examples.Nor_functions.c:272:13: note: use '=' to turn this equality comparison into an assignment if((_mj == 0.5)) ^~ = Modelica.Electrical.Spice3.Examples.Nor_functions.c:675:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.Nor_functions.c:2187:3: error: assignment to cast is illegal, lvalue casts are not supported Modelica.Electrical.Spice3.Examples.Nor_functions.c:2363:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2364:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2365:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2366:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2367:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2368:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2369:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2370:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2371:11684: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2372:11683: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2373:11685: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2374:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2375:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2376:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2377:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2378:11687: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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.Nor_functions.c:2379:11690: error: too many arguments to function call, expected single argument 'threadData', have 22 arguments ./Modelica.Electrical.Spice3.Examples.Nor_functions.h:385: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=] 1 warning and 20 errors generated. : recipe for target 'Modelica.Electrical.Spice3.Examples.Nor_functions.o' failed make: *** [Modelica.Electrical.Spice3.Examples.Nor_functions.o] Error 1