Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.781e-05, allocations: 4 kB / 342.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2152, allocations: 44.52 MB / 387.1 MB, free: 80.17 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.3816, allocations: 85.36 MB / 472.4 MB, free: 216 kB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3819, allocations: 67.97 kB / 472.5 MB, free: 148 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3313/0.7132, allocations: 51.6 MB / 0.5118 GB, free: 89.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7132, allocations: 0 / 0.5118 GB, free: 89.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001344/0.7155, allocations: 23.53 kB / 0.5118 GB, free: 89.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004094/0.7196, allocations: 1.62 MB / 0.5134 GB, free: 88.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.7197, allocations: 10.28 kB / 0.5134 GB, free: 88.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.7202, allocations: 190.2 kB / 0.5136 GB, free: 88.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.7235, allocations: 1.143 MB / 0.5147 GB, free: 88.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.7236, allocations: 20.78 kB / 0.5147 GB, free: 88.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.7237, allocations: 27.22 kB / 0.5148 GB, free: 88.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001172/0.7249, allocations: 394.9 kB / 0.5151 GB, free: 88.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.7261, allocations: 417.4 kB / 0.5155 GB, free: 88.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.7262, allocations: 9.969 kB / 0.5155 GB, free: 88.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/0.7263, allocations: 352 / 0.5155 GB, free: 88.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.7263, allocations: 22 kB / 0.5156 GB, free: 88.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/0.7316, allocations: 2.037 MB / 0.5176 GB, free: 87.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.7326, allocations: 0.6271 MB / 0.5182 GB, free: 87.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009902/0.7337, allocations: 469.1 kB / 0.5186 GB, free: 87.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/0.7488, allocations: 7.747 MB / 0.5262 GB, free: 81.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/0.7494, allocations: 248 kB / 0.5264 GB, free: 81.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 3.894e-06/0.7494, allocations: 1.125 kB / 0.5264 GB, free: 81.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.007004/0.7565, allocations: 2.246 MB / 0.5286 GB, free: 80.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.7565, allocations: 59.83 kB / 0.5287 GB, free: 80.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.7583, allocations: 0.9913 MB / 0.5296 GB, free: 80.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.7584, allocations: 27.14 kB / 0.5297 GB, free: 80.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/0.7591, allocations: 0.7075 MB / 0.5304 GB, free: 80.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.7593, allocations: 200.2 kB / 0.5305 GB, free: 79.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.7594, allocations: 0 / 0.5305 GB, free: 79.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.7595, allocations: 334 kB / 0.5309 GB, free: 79.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.7599, allocations: 158.5 kB / 0.531 GB, free: 79.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.7603, allocations: 316.2 kB / 0.5313 GB, free: 79.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.7616, allocations: 374.7 kB / 0.5317 GB, free: 79.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7616, allocations: 5.938 kB / 0.5317 GB, free: 79.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002482/0.7641, allocations: 0.9501 MB / 0.5326 GB, free: 79.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.7642, allocations: 15.19 kB / 0.5326 GB, free: 79.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.7643, allocations: 57.89 kB / 0.5327 GB, free: 79.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.7648, allocations: 147 kB / 0.5328 GB, free: 79.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.7653, allocations: 119.2 kB / 0.5329 GB, free: 79.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.7683, allocations: 2.225 MB / 0.5351 GB, free: 77.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/0.7692, allocations: 22.7 kB / 0.5351 GB, free: 77.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.7692, allocations: 33.12 kB / 0.5352 GB, free: 77.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.7694, allocations: 117.5 kB / 0.5353 GB, free: 77.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.7696, allocations: 190.9 kB / 0.5355 GB, free: 77.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.7726, allocations: 0.9648 MB / 0.5364 GB, free: 77.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.7726, allocations: 9.875 kB / 0.5364 GB, free: 77.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.303e-06/0.7726, allocations: 1.75 kB / 0.5364 GB, free: 77.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.122e-06/0.7726, allocations: 0 / 0.5364 GB, free: 77.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.7739, allocations: 0.7918 MB / 0.5372 GB, free: 77.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.918e-05/0.774, allocations: 53.25 kB / 0.5372 GB, free: 77.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.7744, allocations: 68.94 kB / 0.5373 GB, free: 77.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/0.7749, allocations: 142.8 kB / 0.5374 GB, free: 77.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7749, allocations: 17 kB / 0.5374 GB, free: 77.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.7782, allocations: 2.23 MB / 0.5396 GB, free: 76.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.62e-06/0.7782, allocations: 0 / 0.5396 GB, free: 76.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03883/0.817, allocations: 17.74 MB / 0.5569 GB, free: 66.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.8175, allocations: 252.2 kB / 0.5572 GB, free: 66.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.8177, allocations: 3.703 kB / 0.5572 GB, free: 66.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.8182, allocations: 17.14 kB / 0.5572 GB, free: 66.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.8184, allocations: 54.75 kB / 0.5573 GB, free: 66.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.8185, allocations: 25.09 kB / 0.5573 GB, free: 66.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.8197, allocations: 0.7463 MB / 0.558 GB, free: 66.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.39e-07/0.8197, allocations: 0 / 0.558 GB, free: 66.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00239/0.8221, allocations: 0.9707 MB / 0.559 GB, free: 65.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002521/0.8247, allocations: 1.166 MB / 0.5601 GB, free: 65.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.8262, allocations: 0.7516 MB / 0.5608 GB, free: 65.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.963e-06/0.8262, allocations: 0 / 0.5608 GB, free: 65.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.8271, allocations: 0.5513 MB / 0.5614 GB, free: 64.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.8279, allocations: 151.8 kB / 0.5615 GB, free: 64.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.8321, allocations: 2.488 MB / 0.5639 GB, free: 62.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.8328, allocations: 1.218 MB / 0.5651 GB, free: 61.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007109/0.8335, allocations: 157.3 kB / 0.5653 GB, free: 60.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.8337, allocations: 71.44 kB / 0.5654 GB, free: 60.92 MB / 366.1 MB Notification: Performance of SimCode: time 1.193e-06/0.8337, allocations: 0 / 0.5654 GB, free: 60.92 MB / 366.1 MB Notification: Performance of Templates: time 0.04656/0.8803, allocations: 20.97 MB / 0.5858 GB, free: 42.62 MB / 366.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator.o Modelica.Electrical.Spice3.Examples.Oscillator.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_functions.o Modelica.Electrical.Spice3.Examples.Oscillator_functions.c Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:79:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_satcur2 == 0.0)) ~~~~~~~~~^~~~~~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:79:18: note: remove extraneous parentheses around the comparison to silence this warning if((_satcur2 == 0.0)) ~ ^ ~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:79:18: note: use '=' to turn this equality comparison into an assignment if((_satcur2 == 0.0)) ^~ = Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:260:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_mj == 0.5)) ~~~~^~~~~~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:260:13: note: remove extraneous parentheses around the comparison to silence this warning if((_mj == 0.5)) ~ ^ ~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:260:13: note: use '=' to turn this equality comparison into an assignment if((_mj == 0.5)) ^~ = Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:4872:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_satcur2 == 0.0)) ~~~~~~~~~^~~~~~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:4872:18: note: remove extraneous parentheses around the comparison to silence this warning if((_satcur2 == 0.0)) ~ ^ ~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:4872:18: note: use '=' to turn this equality comparison into an assignment if((_satcur2 == 0.0)) ^~ = Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:4964:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_mj == 0.5)) ~~~~^~~~~~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:4964:13: note: remove extraneous parentheses around the comparison to silence this warning if((_mj == 0.5)) ~ ^ ~ Modelica.Electrical.Spice3.Examples.Oscillator_functions.c:4964:13: note: use '=' to turn this equality comparison into an assignment if((_mj == 0.5)) ^~ = 4 warnings generated. 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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_records.o Modelica.Electrical.Spice3.Examples.Oscillator_records.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_01exo.o Modelica.Electrical.Spice3.Examples.Oscillator_01exo.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_02nls.o Modelica.Electrical.Spice3.Examples.Oscillator_02nls.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_03lsy.o Modelica.Electrical.Spice3.Examples.Oscillator_03lsy.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_04set.o Modelica.Electrical.Spice3.Examples.Oscillator_04set.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_05evt.o Modelica.Electrical.Spice3.Examples.Oscillator_05evt.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_06inz.o Modelica.Electrical.Spice3.Examples.Oscillator_06inz.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_07dly.o Modelica.Electrical.Spice3.Examples.Oscillator_07dly.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_08bnd.o Modelica.Electrical.Spice3.Examples.Oscillator_08bnd.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_09alg.o Modelica.Electrical.Spice3.Examples.Oscillator_09alg.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_10asr.o Modelica.Electrical.Spice3.Examples.Oscillator_10asr.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_11mix.o Modelica.Electrical.Spice3.Examples.Oscillator_11mix.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_Oscillator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Electrical.Spice3.Examples.Oscillator_12jac.o Modelica.Electrical.Spice3.Examples.Oscillator_12jac.c Modelica.Electrical.Spice3.Examples.Oscillator_12jac.c:729:1463: error: too many arguments to function call, expected 15, have 20 jacobian->tmpVars[8] /* T1.cc.iBE.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = omc_$DER$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode__eval4(threadData, omc_Modelica_Electrical_Spice3_Internal_Bjt_Bjt(threadData, 300.15, 1.0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0.0, 0.0, 0.0, 0.0), omc_Modelica_Electrical_Spice3_Internal_Bjt_BjtModelLineParams(threadData, 1.0, 300.15, 1e-16, 100.0, 1.0, 1.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 2.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09, 0.75, 0.33, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09, 0.75, 0.33, 1.0, 0.0, 0.0, 0.75, 0.0, 0.0, 1.11, 3.0, 0.0, 1.0, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0, 0.0, 0.0, 0.0, 0.0, 0, 1.0), omc_Modelica_Electrical_Spice3_Internal_Bjt_BjtCalc(threadData, 1e-16, 100.0, 1.0, 0.0, 0.0, 1e-09, 0.75, 1e-09, 0.75, 0.375, 0.375, 0.8493935159599201, 0.02586467196237054, 0.4158507232153946, 0.3977682418774593, 0.335, 0.4158507232153946, 0.3977682418774593, 0.335), tmp0, tmp1, tmp2, tmp3, tmp4 ,&jacobian->tmpVars[9] /* T1.cc.iBEN.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[6] /* T1.cc.iBC.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[7] /* T1.cc.iBCN.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[10] /* T1.cc.iCC.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[4] /* T1.cc.capbc.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[5] /* T1.cc.capbe.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */, NULL, NULL, NULL, NULL, NULL); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-6.0/lib/clang/6.0.0/include/stddef.h:105:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ ./Modelica.Electrical.Spice3.Examples.Oscillator_functions.h:218:1: note: 'omc_$DER$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode__eval4' declared here modelica_real omc_$DER$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode__eval4(threadData_t *threadData, Modelica_Electrical_Spice3_Internal_Bjt_Bjt _in_p3, Modelica_Electrical_Spice3_Internal_Bjt_BjtModelLineParams _in_p, Modelica_Electrical_Spice3_Internal_Bjt_BjtCalc _in_c, real_array _in_m_pVoltageValues, Modelica_Electrical_Spice3_Internal_Bjt_Bjt _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERin_p3, Modelica_Electrical_Spice3_Internal_Bjt_BjtModelLineParams _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERin_p, Modelica_Electrical_Spice3_Internal_Bjt_BjtCalc _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERin_c, real_array _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERin_m_pVoltageValues, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERout_cc_iBEN, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERout_cc_iBC, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERout_cc_iBCN, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERout_cc_iCC, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERout_cc_capbc, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval4$funDERout_cc_capbe); ^ Modelica.Electrical.Spice3.Examples.Oscillator_12jac.c:850:1469: error: too many arguments to function call, expected 15, have 20 jacobian->tmpVars[23] /* T2.cc.iBE.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = omc_$DER$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode__eval9(threadData, omc_Modelica_Electrical_Spice3_Internal_Bjt_Bjt(threadData, 300.15, 1.0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0.0, 0.0, 0.0, 0.0), omc_Modelica_Electrical_Spice3_Internal_Bjt_BjtModelLineParams(threadData, 1.0, 300.15, 1e-16, 100.0, 1.0, 1.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 2.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09, 0.75, 0.33, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09, 0.75, 0.33, 1.0, 0.0, 0.0, 0.75, 0.0, 0.0, 1.11, 3.0, 0.0, 1.0, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0, 0.0, 0.0, 0.0, 0.0, 0, 1.0), omc_Modelica_Electrical_Spice3_Internal_Bjt_BjtCalc(threadData, 1e-16, 100.0, 1.0, 0.0, 0.0, 1e-09, 0.75, 1e-09, 0.75, 0.375, 0.375, 0.8493935159599201, 0.02586467196237054, 0.4158507232153946, 0.3977682418774593, 0.335, 0.4158507232153946, 0.3977682418774593, 0.335), tmp5, tmp6, tmp7, tmp8, tmp9 ,&jacobian->tmpVars[24] /* T2.cc.iBEN.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[21] /* T2.cc.iBC.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[22] /* T2.cc.iBCN.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[25] /* T2.cc.iCC.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[19] /* T2.cc.capbc.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ ,&jacobian->tmpVars[20] /* T2.cc.capbe.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */, NULL, NULL, NULL, NULL, NULL); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-6.0/lib/clang/6.0.0/include/stddef.h:105:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ ./Modelica.Electrical.Spice3.Examples.Oscillator_functions.h:226:1: note: 'omc_$DER$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode__eval9' declared here modelica_real omc_$DER$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode__eval9(threadData_t *threadData, Modelica_Electrical_Spice3_Internal_Bjt_Bjt _in_p3, Modelica_Electrical_Spice3_Internal_Bjt_BjtModelLineParams _in_p, Modelica_Electrical_Spice3_Internal_Bjt_BjtCalc _in_c, real_array _in_m_pVoltageValues, Modelica_Electrical_Spice3_Internal_Bjt_Bjt _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERin_p3, Modelica_Electrical_Spice3_Internal_Bjt_BjtModelLineParams _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERin_p, Modelica_Electrical_Spice3_Internal_Bjt_BjtCalc _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERin_c, real_array _$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERin_m_pVoltageValues, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERout_cc_iBEN, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERout_cc_iBC, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERout_cc_iBCN, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERout_cc_iCC, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERout_cc_capbc, modelica_real *out_$Modelica$PElectrical$PSpice3$PInternal$PBjt$PbjtNoBypassCode_eval9$funDERout_cc_capbe); ^ 2 errors generated. : recipe for target 'Modelica.Electrical.Spice3.Examples.Oscillator_12jac.o' failed make: *** [Modelica.Electrical.Spice3.Examples.Oscillator_12jac.o] Error 1